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

ungrouping objects in glTF models #790

Conversation

eeropomell
Copy link
Contributor

This is an initial fix; Not ready for merge yet. It hasn't been tested enough, so idk if it works for all kinds of GLTF transform hierarchies.

This fixes one major issue with the feature. Previously, you couldn't break apart a certain kind of GLTF model more than once, as it would just create duplicates of the thing you were trying to break apart.

Demo of breaking up GLTF model multiple times: https://youtu.be/Tb2jOGZF4fg

This is a quick initial fix; Not ready for merge yet

This fixes one major issue with the feature. Previously, you couldn't break apart a GLTF model more than once, as it would just create duplicates of the thing you were trying to break apart

I don't know if the feature works for all cases of GLTF transform hierarchies
@eeropomell eeropomell changed the title initial fix: enable unpacking GLTF models multiple levels ungrouping objects in glTF models Nov 28, 2024
Previously, the method continued iterating even after a valid children was found

This simple change makes it stop as soon as the first valid child is found
@andybak andybak merged commit 3c73383 into icosa-foundation:feature/icosa-integration Dec 2, 2024
26 of 27 checks passed
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