Ver código fonte

WebGLRenderer: Ignore THREE.Group also.

Mr.doob 11 anos atrás
pai
commit
920ab9e611
1 arquivos alterados com 2 adições e 2 exclusões
  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 {