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

Merge pull request #14689 from Yugloocamai/patch-1

Viewport.js: fix orphaned object
......@@ -410,6 +410,10 @@ var Viewport = function ( editor ) {
} );
signals.objectRemoved.add( function ( object ) {
if(object === transformControls.object){
transformControls.detach();
}
object.traverse( function ( child ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册