Преглед изворни кода

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

Michael Herzog пре 1 година
родитељ
комит
8436c7c30b
1 измењених фајлова са 1 додато и 2 уклоњено
  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' );