Explorar el Código

Merge pull request #19547 from gero3/updateSidebarWhenUpdatingCamera

Editor/Sidebar: This updates the Sidebar when updating the Camera.
Mr.doob hace 5 años
padre
commit
389fbe473f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      editor/js/Viewport.js

+ 1 - 0
editor/js/Viewport.js

@@ -289,6 +289,7 @@ var Viewport = function ( editor ) {
 	controls.addEventListener( 'change', function () {
 
 		signals.cameraChanged.dispatch( camera );
+		signals.refreshSidebarObject3D.dispatch( camera );
 
 	} );