未验证 提交 cba14ad6 编写于 作者: M Mr.doob 提交者: GitHub

Clean up.

上级 68ba0c19
......@@ -179,11 +179,8 @@ Sidebar.Geometry = function ( editor ) {
}
if ( geometry.boundingSphere === null ) {
if ( geometry.boundingSphere === null ) geometry.computeBoundingSphere();
geometry.computeBoundingSphere();
}
geometryBoundingSphere.setValue( Math.floor( geometry.boundingSphere.radius * 1000 ) / 1000 );
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册