Skip to content

Commit c6e69f2

Browse files
committed
ColladaLoader2: Cloning nodes. Not sure if it's needed though.
1 parent f1d0bb5 commit c6e69f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/js/loaders/ColladaLoader2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ THREE.ColladaLoader.prototype = {
686686

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

689-
group.add( getNode( nodes[ i ] ) );
689+
group.add( getNode( nodes[ i ] ).clone() );
690690

691691
}
692692

@@ -786,7 +786,7 @@ THREE.ColladaLoader.prototype = {
786786

787787
console.time( 'ColladaLoader: Build' );
788788

789-
buildLibrary( library.images, buildImage );
789+
// buildLibrary( library.images, buildImage );
790790
// buildLibrary( library.effects, buildEffect );
791791
buildLibrary( library.cameras, buildCamera );
792792
buildLibrary( library.lights, buildLight );

0 commit comments

Comments
 (0)