summaryrefslogtreecommitdiffstats
path: root/scene/resources/material.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/material.h')
-rw-r--r--scene/resources/material.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h
index c2659c4fc4..6b957d0203 100644
--- a/scene/resources/material.h
+++ b/scene/resources/material.h
@@ -41,7 +41,7 @@
class Material : public Resource {
- OBJ_TYPE(Material,Resource);
+ GDCLASS(Material,Resource);
RES_BASE_EXTENSION("mtl");
OBJ_SAVE_TYPE( Material );
@@ -59,7 +59,7 @@ public:
class FixedSpatialMaterial : public Material {
- OBJ_TYPE(FixedSpatialMaterial,Material)
+ GDCLASS(FixedSpatialMaterial,Material)
public: