Browse Source

fix error apply tree style

lviguier 1 năm trước cách đây
mục cha
commit
c25ab86c8b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      hide/comp/SceneEditor.hx

+ 2 - 0
hide/comp/SceneEditor.hx

@@ -3013,6 +3013,8 @@ class SceneEditor {
 			o.locked = locked;
 			for( c in o.flatten(hrt.prefab.Prefab) ) {
 				var el = tree.getElement(c);
+				if (el is Bool)
+					continue;
 				applyTreeStyle(c, el);
 				applySceneStyle(c);
 				toggleInteractive(c,!isLocked(c));