JCPalmer Posted July 26, 2014 Share Posted July 26, 2014 TOB is generating this code at the of the constructor of a mesh sub-class: if (scene._selectionOctree) { scene._selectionOctree.addMesh(this); }It errors because _selectionOctree is private in Scene. For some reason the babylon.babylonFileLoader.ts, lines 828-830 do the same thing, but no error there. Might one check when the mesh is being added to Scene.meshes that a _seletionOctree exists and take care of this internally in constructor of AbstractMesh? 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.