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

Tree variables: fix missing synchronization when adding getters/setters #2538

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

MoritzBrueckner
Copy link
Collaborator

Fixes #2504.

Adding getters/setters for tree variables did not synchronize the variable values from the master node to all replica nodes, and because only the first logic node for a given variable is exported in place for all other nodes of the same variable, there was a race condition depending on which node was exported first. Files saved before the next SDK 22.09 will be automatically fixed upon loading.

Fixes armory3d#2504.

Adding getters/setters for tree variables did not synchronize the variable values from the master node to all replica nodes, and because only the first logic node for a given variable is exported in place for all other nodes of the same variable, there was a race condition depending on which node was exported first. Files saved before the next SDK 22.09 will be automatically fixed upon loading.
@MoritzBrueckner MoritzBrueckner added the Release Notes: Fixes A pull request that fixes something. Used to generate release notes. label Aug 2, 2022
@luboslenco luboslenco merged commit a944aec into armory3d:main Aug 3, 2022
@MoritzBrueckner MoritzBrueckner deleted the fix-treevariable-sync branch August 3, 2022 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Notes: Fixes A pull request that fixes something. Used to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When I move the frame from its place, the code does not work correctly
2 participants