Ver Fonte

fix error apply tree style

lviguier há 1 ano atrás
pai
commit
c25ab86c8b
1 ficheiros alterados com 2 adições e 0 exclusões
  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));