Browse Source

WebGLRenderer: Ignore THREE.Group also.

Mr.doob 11 years ago
parent
commit
920ab9e611
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderers/WebGLRenderer.js

+ 2 - 2
src/renderers/WebGLRenderer.js

@@ -3343,9 +3343,9 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 		}
 
-		if ( object instanceof THREE.Scene ) {
+		if ( object instanceof THREE.Scene || object instanceof THREE.Group ) {
 
-			//
+			// skip
 
 		} else {