提交 a32599e9 编写于 作者: M Mr.doob

Editor: Fixed Viewport.Info.

上级 6766cfc1
......@@ -55,9 +55,9 @@ Viewport.Info = function ( editor ) {
vertices += geometry.attributes.position.array.length / 3;
if ( geometry.attributes.index !== undefined ) {
if ( geometry.index !== undefined ) {
triangles += geometry.attributes.index.array.length / 3;
triangles += geometry.index.array.length / 3;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册