未验证 提交 6eafe383 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #15504 from Mugen87/dev22

Docs: Ensure the geometry browser uses BufferGeometry
......@@ -6,6 +6,8 @@ var twoPi = Math.PI * 2;
function updateGroupGeometry( mesh, geometry ) {
if ( geometry.isGeometry ) geometry = new THREE.BufferGeometry().fromGeometry( geometry );
mesh.children[ 0 ].geometry.dispose();
mesh.children[ 1 ].geometry.dispose();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册