Skip to content

Commit

Permalink
Editor: Do not call update for skeleton helpers. (#24532)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Aug 23, 2022
1 parent 3a6cbf3 commit e7042de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions editor/js/Viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,11 @@ function Viewport( editor ) {

}

if ( editor.helpers[ object.id ] !== undefined ) {
const helper = editor.helpers[ object.id ];

editor.helpers[ object.id ].update();
if ( helper !== undefined && helper.isSkeletonHelper !== true ) {

helper.update();

}

Expand Down

0 comments on commit e7042de

Please sign in to comment.