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:
@@ -45,7 +45,7 @@
|
||||
|
||||
class ScriptEditorQuickOpen : public ConfirmationDialog {
|
||||
|
||||
OBJ_TYPE(ScriptEditorQuickOpen,ConfirmationDialog )
|
||||
GDCLASS(ScriptEditorQuickOpen,ConfirmationDialog )
|
||||
|
||||
LineEdit *search_box;
|
||||
Tree *search_options;
|
||||
@@ -77,7 +77,7 @@ class ScriptEditorDebugger;
|
||||
|
||||
class ScriptEditorBase : public Control {
|
||||
|
||||
OBJ_TYPE( ScriptEditorBase, Control );
|
||||
GDCLASS( ScriptEditorBase, Control );
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
public:
|
||||
@@ -118,7 +118,7 @@ class EditorScriptCodeCompletionCache;
|
||||
|
||||
class ScriptEditor : public VBoxContainer {
|
||||
|
||||
OBJ_TYPE(ScriptEditor, VBoxContainer );
|
||||
GDCLASS(ScriptEditor, VBoxContainer );
|
||||
|
||||
|
||||
EditorNode *editor;
|
||||
@@ -343,7 +343,7 @@ public:
|
||||
|
||||
class ScriptEditorPlugin : public EditorPlugin {
|
||||
|
||||
OBJ_TYPE( ScriptEditorPlugin, EditorPlugin );
|
||||
GDCLASS( ScriptEditorPlugin, EditorPlugin );
|
||||
|
||||
ScriptEditor *script_editor;
|
||||
EditorNode *editor;
|
||||
|
||||
Reference in New Issue
Block a user