提交 d9a702bc 编写于 作者: A alteredq

Editor: fixed selection of subobjects when clicking in outliner.

上级 5891fb03
......@@ -31,18 +31,16 @@ Sidebar.Outliner = function ( signals ) {
var id = parseInt( sceneGraph.getValue() );
for ( var i in scene.children ) {
scene.traverse( function ( node ) {
var object = scene.children[ i ];
if ( node.id === id ) {
if ( object.id === id ) {
signals.objectSelected.dispatch( object );
signals.objectSelected.dispatch( node );
return;
}
}
} );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册