Skip to content

Commit

Permalink
ColladaLoader2: Cloning nodes. Not sure if it's needed though.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Oct 5, 2015
1 parent f1d0bb5 commit c6e69f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/js/loaders/ColladaLoader2.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ THREE.ColladaLoader.prototype = {

for ( var i = 0, l = nodes.length; i < l; i ++ ) {

group.add( getNode( nodes[ i ] ) );
group.add( getNode( nodes[ i ] ).clone() );

}

Expand Down Expand Up @@ -786,7 +786,7 @@ THREE.ColladaLoader.prototype = {

console.time( 'ColladaLoader: Build' );

buildLibrary( library.images, buildImage );
// buildLibrary( library.images, buildImage );
// buildLibrary( library.effects, buildEffect );
buildLibrary( library.cameras, buildCamera );
buildLibrary( library.lights, buildLight );
Expand Down

0 comments on commit c6e69f2

Please sign in to comment.