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: add empty transforms to the list of objects for making instances #903

Merged
merged 4 commits into from
Apr 6, 2023

Conversation

schinkowski
Copy link
Collaborator

@schinkowski schinkowski commented Mar 30, 2023

There is a problem with files that use empty transforms as instances. Those empty transforms were not added to the list of client objects and would not be accessible when needed to make instances.
This change fixes that.

Need to merge this #901 first.

@sindharta-tanuwijaya sindharta-tanuwijaya changed the title fix: Instance parent fix [For 0.18.x] fix: Instance parent fix Apr 3, 2023
Runtime/Scripts/BaseMeshSync.cs Outdated Show resolved Hide resolved
Runtime/Scripts/BaseMeshSync.cs Outdated Show resolved Hide resolved
@schinkowski schinkowski changed the base branch from dev to spline_fixes April 4, 2023 12:26
@sindharta-tanuwijaya sindharta-tanuwijaya changed the title [For 0.18.x] fix: Instance parent fix fix: add empty transforms to the list of client objects for making instances Apr 5, 2023
@sindharta-tanuwijaya sindharta-tanuwijaya changed the title fix: add empty transforms to the list of client objects for making instances fix: add empty transforms to the list of objects for making instances Apr 5, 2023
@sindharta-tanuwijaya sindharta-tanuwijaya merged commit 81304e7 into spline_fixes Apr 6, 2023
@sindharta-tanuwijaya sindharta-tanuwijaya deleted the instance_parent_fix branch April 6, 2023 03:10
@sindharta-tanuwijaya sindharta-tanuwijaya restored the instance_parent_fix branch April 6, 2023 03:10
@sindharta-tanuwijaya sindharta-tanuwijaya deleted the instance_parent_fix branch April 6, 2023 03:14
sindharta-tanuwijaya pushed a commit that referenced this pull request Apr 6, 2023
…#903)

* Ensure parent objects are added when an object is created in a hierarchy with empty transforms.

* Fix for compiler error in yamato

* Refactoring to make the code more complicated

* Using existing method instead of new one

(cherry picked from commit 81304e7)
sindharta-tanuwijaya added a commit that referenced this pull request Apr 6, 2023
…#903) (#906)

* Ensure parent objects are added when an object is created in a hierarchy with empty transforms.

* Fix for compiler error in yamato

* Refactoring to make the code more complicated

* Using existing method instead of new one

(cherry picked from commit 81304e7)

Co-authored-by: schinkowski <[email protected]>
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.

2 participants