diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-21 14:53:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 14:53:24 +0100 |
commit | 0447d6fc8edfd636fa6c859d32e76ec8a760f42e (patch) | |
tree | d441d6bd2190b79607b953542edd1295e61ee078 /core/object.cpp | |
parent | 7ac0973e9abb308b91597dd8881aeed62682733c (diff) | |
parent | 04bb6a708a5b68ed199e5caa92d16a50992caf52 (diff) | |
download | redot-engine-0447d6fc8edfd636fa6c859d32e76ec8a760f42e.tar.gz |
Merge pull request #36393 from reduz/callable-method-pointer
New 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; } } |