2
0
Эх сурвалжийг харах

fixed #if editor compilation

Nicolas Cannasse 10 сар өмнө
parent
commit
645c658a6a

+ 1 - 1
hrt/prefab/DynamicShader.hx

@@ -172,7 +172,7 @@ class DynamicShader extends Shader {
 
 		super.edit(ectx);
 
-		if( (isInstance && !isShadergraph) || loadshaderDef.sclass(true) != null ) {
+		if( (isInstance && !shaderDef.isShaderGraph) || loadShaderClass(true) != null ) {
 			ectx.properties.add(hide.comp.PropsEditor.makePropsList([{
 				name : "isInstance",
 				t : PBool,