2
0
Ryan Cleven 3 жил өмнө
parent
commit
d92a473610

+ 1 - 1
h3d/mat/PbrMaterial.hx

@@ -198,7 +198,7 @@ class PbrMaterial extends Material {
 		mainPass.enableLights = true;
 
 		// Backward compatibility
-		if(Std.is((props:Dynamic).culling, Bool))
+		if(Std.isOfType((props:Dynamic).culling, Bool))
 			props.culling = (props:Dynamic).culling ? Back : None;
 		#if editor
 		if( (props:Dynamic).colorMask == null ) props.colorMask = 15;