Skip to content

EXRLoader: Fix channel rule matching.#33216

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev6
Mar 19, 2026
Merged

EXRLoader: Fix channel rule matching.#33216
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev6

Conversation

@Mugen87
Copy link
Copy Markdown
Collaborator

@Mugen87 Mugen87 commented Mar 19, 2026

Fixed #30775.

Description

The PR fixes a bug in context of DWA compressed files. DWA channel rules use suffix-based matching e.g. "R" is not only matched to the color channel name "R" but e.g. "Diffuse.R". Meaning what matters is everything after the dot. EXRLoader did not account for that and always compared the full channel name with the rule.

With this fix in place, the test image loads as expected without any console warnings.

Bildschirmfoto 2026-03-19 um 15 22 31

@Mugen87 Mugen87 added this to the r184 milestone Mar 19, 2026
@Mugen87 Mugen87 merged commit ca7895c into mrdoob:dev Mar 19, 2026
9 checks passed
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.

Error when parsing an EXR file

1 participant