Explorar o código

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

Michael Herzog hai 1 ano
pai
achega
8436c7c30b
Modificáronse 1 ficheiros con 1 adicións e 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' );