Sfoglia il codice sorgente

Merge pull request #19547 from gero3/updateSidebarWhenUpdatingCamera

Editor/Sidebar: This updates the Sidebar when updating the Camera.
Mr.doob 5 anni fa
parent
commit
389fbe473f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 );
 
 	} );
 

粤ICP备19079148号