@@ -283,7 +283,7 @@ class Material extends BaseMaterial {
getPass("shadow").culling = mainPass.culling;
}
- #if editor
+ #if (editor && js)
override function editProps() {
return new js.jquery.JQuery('
<dl>
@@ -508,7 +508,7 @@ class PbrMaterial extends Material {
return m;
var props : PbrProps = props;
var layers : Array< { name : String, value : Int }> = hide.Ide.inst.currentConfig.get("material.drawOrder", []);
@@ -21,7 +21,7 @@ class AnyProps {
public function refreshProps() {
public function editProps() {
return new js.jquery.JQuery('<p>No properties for this object</p>');