-
Notifications
You must be signed in to change notification settings - Fork 457
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(loader): Preserves collection hierarchies when importing them from blend file #1149
Conversation
thank you, and sorry for delayed response. Your solution definitely is more elegant and cleaner. I have tested it and it works well. I just have two observations.
|
Hey @johan-apes thanks for checking the PR! Regarding your observations:
|
tbh it was not handled in my PR either, however I noticed it now during testing, we sometimes have use cases where we have hidden collection that we use kind of a junkyard for wip objects and other stuff you do not necessarily need but don't want to delete. If they would pop up in the scene the resulting image would look unexpected. |
Hi @johan-apes, thanks for the explanation. If the other toggles are not preserved, I think there is not really something we can do, as this is then more of a blender bug. I would now merge this PR, but if you find a way to preserve all toggle, feel free to create a new PR. |
When using
the hierarchies between collections and objects should now be preserved.
@johan-apes I think I found an easier way to fix the collection hierarchies. Could you please check whether this fix also works for you?