diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-26 17:09:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 17:09:41 +0200 |
commit | b2096ba53eb422ae2fbf8b49cf1f4806878127fb (patch) | |
tree | 4eae08b1d8ed1849e216040dddd5a4999a884907 /scene/main/canvas_item.cpp | |
parent | 94ff5ee535ff3f20685b06e2b959e3a52b2eabbe (diff) | |
parent | 2b9d9bc3644de19b291c16b2facc418f3d64d4fc (diff) |
Merge pull request #40670 from vnen/remove-multilevel-call
Remove multilevel calls
Diffstat (limited to 'scene/main/canvas_item.cpp')
-rw-r--r-- | scene/main/canvas_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index d1bf038b8d..d6d1134cc9 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -434,7 +434,7 @@ void CanvasItem::_update_callback() { notification(NOTIFICATION_DRAW); emit_signal(SceneStringNames::get_singleton()->draw); if (get_script_instance()) { - get_script_instance()->call_multilevel_reversed(SceneStringNames::get_singleton()->_draw, nullptr, 0); + get_script_instance()->call(SceneStringNames::get_singleton()->_draw); } current_item_drawn = nullptr; drawing = false; |