Explorar el Código

Editor: Remove reference to `targetInverse`. (#28721)

Michael Herzog hace 1 año
padre
commit
8436c7c30b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      editor/js/Sidebar.Object.js

+ 1 - 2
editor/js/Sidebar.Object.js

@@ -697,8 +697,7 @@ function SidebarObject( editor ) {
 
 	function updateTransformRows( object ) {
 
-		if ( object.isLight ||
-		   ( object.isObject3D && object.userData.targetInverse ) ) {
+		if ( object.isLight ) {
 
 			objectRotationRow.setDisplay( 'none' );
 			objectScaleRow.setDisplay( 'none' );