提交 a09c989c 编写于 作者: G gero3

don't allow scripts to be added to the camera

上级 88709ef0
......@@ -102,7 +102,7 @@ Sidebar.Script = function ( editor ) {
signals.objectSelected.add( function ( object ) {
if ( object !== null ) {
if ( object !== null && editor.camera !== object ) {
container.setDisplay( 'block' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册