Browse Source

Editor: Fixed faces count.

Mr.doob 11 years ago
parent
commit
bf3a221f80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Viewport.js

+ 1 - 1
editor/js/Viewport.js

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