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

Fix UID issues on custom style layers #2387

Merged

Conversation

Jowan-Spooner
Copy link
Collaborator

When making a scene custom it would copy the scene and thus the resulting scene would share the same uid as the original. This would mess with styles created in the future.

This PR should fix this by removing the UID when making a layer custom.

I want to make the "make custom" code more modular and re-use it on the custom portrait logic to make sure this fix get's applied everywhere.

@Jowan-Spooner Jowan-Spooner added Bug 🐞 Something isn't working Critical 💩 labels Sep 9, 2024
This cleans up the make_custom code and moves it to DialogicUtil so that it can be reused (and has to be fixed in one place only!)
@Jowan-Spooner Jowan-Spooner marked this pull request as ready for review September 9, 2024 21:41
@Jowan-Spooner Jowan-Spooner merged commit df9d178 into dialogic-godot:main Sep 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Something isn't working Critical 💩
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant