You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#if 0
|
||||
class GraphColorRampEdit : public Control {
|
||||
|
||||
OBJ_TYPE(GraphColorRampEdit,Control);
|
||||
GDCLASS(GraphColorRampEdit,Control);
|
||||
|
||||
|
||||
struct Point {
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
class GraphCurveMapEdit : public Control {
|
||||
|
||||
OBJ_TYPE(GraphCurveMapEdit,Control);
|
||||
GDCLASS(GraphCurveMapEdit,Control);
|
||||
|
||||
|
||||
struct Point {
|
||||
@@ -117,7 +117,7 @@ public:
|
||||
|
||||
class ShaderGraphView : public Control {
|
||||
|
||||
OBJ_TYPE(ShaderGraphView,Control);
|
||||
GDCLASS(ShaderGraphView,Control);
|
||||
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ public:
|
||||
|
||||
class ShaderGraphEditor : public VBoxContainer {
|
||||
|
||||
OBJ_TYPE(ShaderGraphEditor,VBoxContainer);
|
||||
GDCLASS(ShaderGraphEditor,VBoxContainer);
|
||||
|
||||
PopupMenu *popup;
|
||||
TabContainer *tabs;
|
||||
@@ -220,7 +220,7 @@ public:
|
||||
|
||||
class ShaderGraphEditorPlugin : public EditorPlugin {
|
||||
|
||||
OBJ_TYPE( ShaderGraphEditorPlugin, EditorPlugin );
|
||||
GDCLASS( ShaderGraphEditorPlugin, EditorPlugin );
|
||||
|
||||
bool _2d;
|
||||
ShaderGraphEditor *shader_editor;
|
||||
|
||||
Reference in New Issue
Block a user