Browse Source

Editor: Do not call update for skeleton helpers. (#24532)

Michael Herzog 2 năm trước cách đây
mục cha
commit
e7042de7c1
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      editor/js/Viewport.js

+ 4 - 2
editor/js/Viewport.js

@@ -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();
 
 		}