JCPalmer Posted March 8, 2016 Share Posted March 8, 2016 In my testing of FileLoader logging, I wanted to make sure the messages worked for ImportMesh too. They did, but scene.executeWhenReady() is never run. My test had 2 appends & an executeWhenReady block which worked as desired: BABYLON.SceneLoader.loggingLevel = BABYLON.SceneLoader.DETAILED_LOGGING; BABYLON.SceneLoader.Append(url, "armature-no-anim.babylon", scene); BABYLON.SceneLoader.Append(url, "skeleton_library.babylon", scene); scene.executeWhenReady(function () { console.log("i am ready"); } I substituted an ImportMesh(null, for the first Append(. The logging worked, but never got to the "i am ready" message. I see the 2 scene._removePendingData calls in ImportMesh. Maybe a finally block with just one call would be better. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.