-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 saving branch as scene saves children without owner set #82802
Fix saving branch as scene saves children without owner set #82802
Conversation
05a9507
to
ae3a477
Compare
With this, the changes from #61966 might not be necessary anymore. |
I prefer to separate this fix from reverting the other one. I'm not sure if there is a use case where an internal node has an owner set. I'm afraid that reverting #61966 may (re)introduce some issues. Preserving both for a while will be safer for stability. |
Maybe just pass in the corresponding base (child) nodes and find their owners, if the number of their child nodes is the same (Will it be different?). |
Thanks for suggestions 👍 , I'll look at them and improve the code as soon as possible. |
Thanks. I'd look at this at evening. |
f65d13f
to
d4821aa
Compare
I've rebased the branch, added suggested changes (excl |
d4821aa
to
5ede386
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of unresolved minor comments, but otherwise looks ok.
Should I add these changes before merging? |
Yep. |
OK, this evening. |
5ede386
to
561fcf5
Compare
Updated.
Thanks for reminding me why I abandoned c++ ~20yrs ago ;) |
Thanks! |
Fixes #82756 and preserves fix for #42611