diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-02-20 15:32:36 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-21 13:46:45 +0100 |
commit | 04bb6a708a5b68ed199e5caa92d16a50992caf52 (patch) | |
tree | 0975beb458ec9c7449cb6a9a39fc7a6c12aa0624 /core/object.cpp | |
parent | a24aafcb92992f860694bf411acab1080fc0b3db (diff) | |
download | redot-engine-04bb6a708a5b68ed199e5caa92d16a50992caf52.tar.gz |
Created the callable_mp macro, for signals to call method pointers directly.
Diffstat (limited to 'core/object.cpp')
-rw-r--r-- | core/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp index d5db383cbc..6639db9d84 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1207,7 +1207,7 @@ Error Object::emit_signal(const StringName &p_name, const Variant **p_args, int if (ce.error == Callable::CallError::CALL_ERROR_INVALID_METHOD && !ClassDB::class_exists(target->get_class_name())) { //most likely object is not initialized yet, do not throw error. } else { - ERR_PRINT("Error calling from signal '" + String(p_name) + "': " + Variant::get_callable_error_text(c.callable, args, argc, ce) + "."); + ERR_PRINT("Error calling from signal '" + String(p_name) + "' to callable: " + Variant::get_callable_error_text(c.callable, args, argc, ce) + "."); err = ERR_METHOD_NOT_FOUND; } } |