2
0
Эх сурвалжийг харах

Merge pull request #10953 from gero3/editorCameraScripts

This allow scripts to be added to the camera
Mr.doob 8 жил өмнө
parent
commit
263832aaf5

+ 1 - 1
editor/js/Sidebar.Script.js

@@ -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' );