Browse Source

WebGLRenderer: Ignore THREE.Group also.

Mr.doob 11 năm trước cách đây
mục cha
commit
920ab9e611
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 {