Closed JuliaABurch closed 2 years ago
Nice catch @JuliaABurch !! Thanks a lot !
@julien-moreau Will this fix only be available in the next minor version release of the editor?
@JuliaABurch sure! I’m just adding some scene importer tools for you as well to configure imported meshes etc and I deploy the next minor
This PR switches the processing order in the project importer so that transformation nodes are loaded into the scene before meshes. This fixes an issue where a GLTF model imported into the editor can play animations from a GLB file, but those same animations will fail to load/play correctly after the model is converted to a
.babylon
file and the project is reloaded.This is because the
transformationNodes
property on a skeleton's bones will fail to be set -- when loading a mesh, the babylon file loader will query the scene for transformation nodes, which will not exist as the project has not yet loaded them.Testing