提交 c5f771fb 编写于 作者: T Temdog007

Add check for bounding sphere

上级 067a9301
......@@ -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.
先完成此消息的编辑!
想要评论请 注册