Skip to content

Fix DwaBase attribute lookup with C++20 - #8

Open
gripeyes wants to merge 1 commit into
OpenMoonRay:mainfrom
gripeyes:fix/dwabase-cxx20-attribute-lookup
Open

Fix DwaBase attribute lookup with C++20#8
gripeyes wants to merge 1 commit into
OpenMoonRay:mainfrom
gripeyes:fix/dwabase-cxx20-attribute-lookup

Conversation

@gripeyes

Copy link
Copy Markdown

Compatibility:

patch

Issues/Tickets:

OpenMoonRay/openmoonray#276

Release notes comment:

Fixed DwaBase scatter-tag attribute lookup when building with C++20.

Comments for the reviewer:

This is a minimal extraction from the Houdini 22 macOS validation branch.

mRequiredAttributes stores integer attribute indices, while sScatterTag is an attribute key. The comparison now uses sScatterTag.getIndex(), avoiding the incompatible key-to-integer comparison under C++20.

The PR contains one functional line change. Unrelated whitespace from the original validation commit was removed.

Umbrella validation PR:
OpenMoonRay/openmoonray#276

Houdini 22 build notes:
https://github.com/gripeyes/openmoonray/blob/test/houdini22-clean-build/building/macOS/Houdini22_build_notes.md

Look or scene setup change:

Special notes for production:

Attention/Reviewers:

AI Assisted Development:

Assisted-by: OpenAI Codex / GPT-5.6

Checklist:

  • Documentation has been updated.
  • Includes new unit tests.
  • Includes new RATS tests.

Signed-off-by: Jakub Svoboda <132791205+jacobfreedom@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant