Browse Source

fix error apply tree style

lviguier 1 year ago
parent
commit
c25ab86c8b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hide/comp/SceneEditor.hx

+ 2 - 0
hide/comp/SceneEditor.hx

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