-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
IE: An extra object in data.children in ObjectLoader.parseObject #11432
Comments
…-in-data.children-in-ObjectLoader.parseObject Updated Objectoader.parseObject. Changed the way of iterating over data.children array mrdoob#11432
That would be great! 👍 |
Where does "includes" come from? |
probably for...in uses larger set of keys than just numbers, includes is probably array's method name |
@mrdoob "includes" come from Array.prototype, and for avoiding this kind of issue there can be two ways:
|
IE: An extra object in data.children in ObjectLoader.parseObject #11432
The problem occure while parsing json file for userDefined model. In ObjectLoader.parseObject in Internet Explorer while iterating over children there is an extra child "includes".
for ( var child in data.children ) { object.add( this.parseObject( data.children[ child ], geometries, materials ) ); }
Three.js version
Browser
OS
The text was updated successfully, but these errors were encountered: