Skip to content

Commit

Permalink
Editor: Remove reference to targetInverse.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jun 22, 2024
1 parent a519e0e commit 7a99ad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editor/js/Sidebar.Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 7a99ad6

Please sign in to comment.