Skip to content
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

Gizmo fix #173

Merged
merged 3 commits into from
May 10, 2023
Merged

Gizmo fix #173

merged 3 commits into from
May 10, 2023

Conversation

JamesTKhan
Copy link
Owner

@JamesTKhan JamesTKhan commented May 10, 2023

Gizmos were not being added/removed correctly on scene and project changes due to tricky timing of events. This change makes it so that the ComponentAdded event is not called until AFTER ProjectChanged and SceneChanged events are called. This makes more sense flow wise and allows gizmo manager to dispose of old gizmos first before receiving new ones.

@antzGames
Copy link
Collaborator

Tested both changing scenes and changing projects. Fixed. Very fast cycle time on this fix.

@antzGames antzGames merged commit 03a4479 into master May 10, 2023
@antzGames antzGames deleted the gizmo-fix branch May 10, 2023 22:08
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.

Light component gizmo GO icon from previous projects persist when switching projects.
2 participants