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

Merge pull request #16120 from Temdog007/editor/BoundingSphereCheck

Editor: Add bounding sphere check
......@@ -179,6 +179,11 @@ Sidebar.Geometry = function ( editor ) {
}
if ( geometry.boundingSphere === null ) {
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.
先完成此消息的编辑!
想要评论请 注册