2
0
Эх сурвалжийг харах

Editor: Fixed faces count.

Mr.doob 11 жил өмнө
parent
commit
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;
 
 					}