diff options
author | Trashguy <trashguy@gmail.com> | 2024-10-11 12:21:42 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-13 15:05:24 -0400 |
commit | 9901f655fb46bd345770ad5f4a1638c4051b1816 (patch) | |
tree | bb22b4881145f122568c8f2e51e912078ad1b4fc /core/extension/gdextension.cpp | |
parent | 6699ae7897658e44efc3cfb2cba91c11a8f5aa6a (diff) | |
download | redot-engine-9901f655fb46bd345770ad5f4a1638c4051b1816.tar.gz |
Rebrand Godot 4.3 to Redot
Diffstat (limited to 'core/extension/gdextension.cpp')
-rw-r--r-- | core/extension/gdextension.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/extension/gdextension.cpp b/core/extension/gdextension.cpp index cb6832ea39..120a68e1f1 100644 --- a/core/extension/gdextension.cpp +++ b/core/extension/gdextension.cpp @@ -241,7 +241,7 @@ public: virtual Variant call(Object *p_object, const Variant **p_args, int p_arg_count, Callable::CallError &r_error) const override { #ifdef TOOLS_ENABLED - ERR_FAIL_COND_V_MSG(!valid, Variant(), vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name)); + ERR_FAIL_COND_V_MSG(!valid, Variant(), vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name)); ERR_FAIL_COND_V_MSG(p_object && p_object->is_extension_placeholder(), Variant(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name)); #endif Variant ret; @@ -255,7 +255,7 @@ public: } virtual void validated_call(Object *p_object, const Variant **p_args, Variant *r_ret) const override { #ifdef TOOLS_ENABLED - ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name)); + ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name)); ERR_FAIL_COND_MSG(p_object && p_object->is_extension_placeholder(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name)); #endif ERR_FAIL_COND_MSG(vararg, "Vararg methods don't have validated call support. This is most likely an engine bug."); @@ -287,7 +287,7 @@ public: virtual void ptrcall(Object *p_object, const void **p_args, void *r_ret) const override { #ifdef TOOLS_ENABLED - ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name)); + ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Redot.", name)); ERR_FAIL_COND_MSG(p_object && p_object->is_extension_placeholder(), vformat("Cannot call GDExtension method bind '%s' on placeholder instance.", name)); #endif ERR_FAIL_COND_MSG(vararg, "Vararg methods don't have ptrcall support. This is most likely an engine bug."); @@ -483,10 +483,10 @@ void GDExtension::_register_extension_class_internal(GDExtensionClassLibraryPtr if (self->is_reloading && self->extension_classes.has(class_name)) { extension = &self->extension_classes[class_name]; if (!parent_extension && parent_class_name != extension->gdextension.parent_class_name) { - ERR_FAIL_MSG(vformat("GDExtension class '%s' cannot change parent type from '%s' to '%s' on hot reload. Restart Godot for this change to take effect.", class_name, extension->gdextension.parent_class_name, parent_class_name)); + ERR_FAIL_MSG(vformat("GDExtension class '%s' cannot change parent type from '%s' to '%s' on hot reload. Restart Redot for this change to take effect.", class_name, extension->gdextension.parent_class_name, parent_class_name)); } if (extension->gdextension.is_runtime != is_runtime) { - ERR_PRINT(vformat("GDExtension class '%s' cannot change to/from runtime class on hot reload. Restart Godot for this change to take effect.", class_name)); + ERR_PRINT(vformat("GDExtension class '%s' cannot change to/from runtime class on hot reload. Restart Redot for this change to take effect.", class_name)); is_runtime = extension->gdextension.is_runtime; } extension->is_reloading = false; |