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:
@@ -20,7 +20,7 @@ void GIProbeEditorPlugin::edit(Object *p_object) {
|
||||
|
||||
bool GIProbeEditorPlugin::handles(Object *p_object) const {
|
||||
|
||||
return p_object->is_type("GIProbe");
|
||||
return p_object->is_class("GIProbe");
|
||||
}
|
||||
|
||||
void GIProbeEditorPlugin::make_visible(bool p_visible) {
|
||||
@@ -36,7 +36,7 @@ void GIProbeEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
void GIProbeEditorPlugin::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method("_bake",&GIProbeEditorPlugin::_bake);
|
||||
ClassDB::bind_method("_bake",&GIProbeEditorPlugin::_bake);
|
||||
}
|
||||
|
||||
GIProbeEditorPlugin::GIProbeEditorPlugin(EditorNode *p_node) {
|
||||
|
||||
Reference in New Issue
Block a user