Sfoglia il codice sorgente

WebGLRenderer: Ignore THREE.Group also.

Mr.doob 11 anni fa
parent
commit
920ab9e611
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 {