jacquesr Posted March 7, 2016 Share Posted March 7, 2016 Hi guys, I just wanted to run code that uses mesh.getChildren() in 2.3 that works but in the playground it causes "r is not a function" exception. I could see from the chrome debugger that it seems to use arguments now and also that there is a getChildMeshes and getChildren function... Is that already documented somewhere? Quote Link to comment Share on other sites More sharing options...
jacquesr Posted March 7, 2016 Author Share Posted March 7, 2016 example: http://www.babylonjs-playground.com/#WP6JP Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 7, 2016 Share Posted March 7, 2016 this is a bug that will be fixed later today. the solution for now is: http://www.babylonjs-playground.com/#WP6JP#1 Quote Link to comment Share on other sites More sharing options...
jacquesr Posted March 7, 2016 Author Share Posted March 7, 2016 Danke :-) Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 7, 2016 Share Posted March 7, 2016 Aber gerne https://github.com/BabylonJS/Babylon.js/pull/1023 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 9, 2016 Share Posted March 9, 2016 I have the same bug : this.axisPicked.getChildren()[0].visibility = 1; return Uncaught TypeError: r is not a function _getDescendants getDescendants getChildren Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 9, 2016 Share Posted March 9, 2016 this was solved already, should be fine on the playground in the next update. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 9, 2016 Share Posted March 9, 2016 Ok, Thanks 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.