Browse Source

ColladaLoader: Returning a Group instead of a Scene. See #5754.

Mr.doob 10 years ago
parent
commit
28434270e9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/js/loaders/ColladaLoader.js

+ 2 - 2
examples/js/loaders/ColladaLoader.js

@@ -150,7 +150,7 @@ THREE.ColladaLoader = function () {
 		skins = [];
 
 		visualScene = parseScene();
-		scene = new THREE.Scene();
+		scene = new THREE.Group();
 
 		for ( var i = 0; i < visualScene.nodes.length; i ++ ) {
 
@@ -2060,7 +2060,7 @@ THREE.ColladaLoader = function () {
 		this.id = "";
 		this.name = "";
 		this.nodes = [];
-		this.scene = new THREE.Scene();
+		this.scene = new THREE.Group();
 
 	};