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 update export #448

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Fix update export #448

merged 2 commits into from
Mar 9, 2023

Conversation

chippmann
Copy link
Contributor

This fixes a bug where after a property change in the inspector and saving, the resulting scene file would contain invalid default values for not exported properties.

For example a change on the property nullable_long in Invocation would also save (wrong) default values for register_object_nullable_pre_init, register_object_non_nullable_pre_init, invocation even though they are not even exported.

This only updates exports (and thus also default values) for properties which are actually exported.

@chippmann chippmann added bug Something isn't working topic:core GD4 labels Mar 7, 2023
@chippmann chippmann requested review from CedNaru and piiertho March 7, 2023 13:19
src/kotlin_script.cpp Outdated Show resolved Hide resolved
@chippmann chippmann requested a review from piiertho March 7, 2023 14:14
@chippmann chippmann merged commit 6163dbd into 4.0-adaptation Mar 9, 2023
@chippmann chippmann deleted the 4.0/fix_update_exports branch March 9, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants