mrdoob 9 месяцев назад
Родитель
Сommit
da2564f323
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/renderers/common/RenderObject.js

+ 0 - 2
src/renderers/common/RenderObject.js

@@ -522,8 +522,6 @@ class RenderObject {
 
 		}
 
-		//const instanceCount = geometry.isInstancedBufferGeometry ? geometry.instanceCount : ( object.count !== undefined ? Math.max( 0, object.count ) : 1 );
-
 		if ( instanceCount === 0 ) return null;
 
 		drawParams.instanceCount = instanceCount;

粤ICP备19079148号