Explorar o código

[sg] Fix variables appearing in add menu

Clément Espeute hai 5 meses
pai
achega
4fd57e47df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hide/view/shadereditor/ShaderEditor.hx

+ 1 - 1
hide/view/shadereditor/ShaderEditor.hx

@@ -1881,7 +1881,7 @@ class ShaderEditor extends hide.view.FileView implements GraphInterface.IGraphEd
 				continue;
 				continue;
 			}
 			}
 
 
-			if (metas.hideInAddMenu != null)
+			if (Reflect.hasField(metas,"hideInAddMenu"))
 				continue;
 				continue;
 
 
 			var group = metas.group != null ? metas.group[0] : "Other";
 			var group = metas.group != null ? metas.group[0] : "Other";