Skip to content

Fix null reference in the Undo callback of the graphics compositor #2210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 14, 2020

Conversation

pmavridis
Copy link
Contributor

Purpose of this PR

(This is cherry-picked from another PR that is on hold.)

The undo callback of the graphics compositor will throw a null reference error when switching from a scene that is using the compositor to one that is not using it.


Testing status

Switched from a scene that is using the graphics compositor to one that is not. Performed an action and hit undo.
Undo does not throw a null reference anymore.

This is a simple fix, I don't think there is any need for more QA.

@github-actions
Copy link

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

@sebastienlagarde sebastienlagarde merged commit e22e6b1 into HDRP/staging Oct 14, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/compositor-fixes5 branch October 14, 2020 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants