Browse Source

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

Michael Herzog 1 year ago
parent
commit
8436c7c30b
1 changed files with 1 additions and 2 deletions
  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' );