Skip to content

Fix/composer recreate dispose - #398

Merged
kvvasuu merged 2 commits into
masterfrom
fix/composer-recreate-dispose
Oct 21, 2026
Merged

kvvasuu merged 2 commits into
masterfrom
fix/composer-recreate-dispose

Conversation

@kvvasuu

@kvvasuu kvvasuu commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #397.

When the composer is recreated, the old composer's dispose() also disposed passes the new composer reuses: the EffectGroup pass, N8AO and user-provided passes. For EffectGroup this disposed the grouped effects and dropped the pass's change listener, so the group stopped reacting to effect changes after e.g. a camera switch.

The old composer now detaches every pass it didn't create before disposing itself.

…composer

Old composer's dispose() killed EffectGroup/N8AO/user passes and their effects still in use by the new one.
@kvvasuu
kvvasuu merged commit de68232 into master Oct 21, 2026
1 check passed
@kvvasuu
kvvasuu deleted the fix/composer-recreate-dispose branch October 21, 2026 17:19
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