Преглед изворни кода

Editor: Fixed faces count.

Mr.doob пре 12 година
родитељ
комит
bf3a221f80
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      editor/js/Viewport.js

+ 1 - 1
editor/js/Viewport.js

@@ -494,7 +494,7 @@ var Viewport = function ( editor ) {
 
 					} else {
 
-						faces += vertices / 3;
+						faces += geometry.attributes.position.array.length / 9;
 
 					}
 

粤ICP备19079148号