summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-09 20:35:47 +0100
committerGitHub <noreply@github.com>2022-03-09 20:35:47 +0100
commit3a7dd7f3230171f2d75ee30b4544e931e966591f (patch)
treebdadb48de32971df38082537c280c2dccafcc844
parent922348f4c00e694961a7c9717abdcd0310c11973 (diff)
parentf1cc99c6e80694fc768ac098e13ef3c5370f6dfe (diff)
Merge pull request #58937 from hoontee/master
Add SNAME macro optimization missed during rebase of #40814
-rw-r--r--modules/csg/csg_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp
index a659062438..6c14b694a4 100644
--- a/modules/csg/csg_shape.cpp
+++ b/modules/csg/csg_shape.cpp
@@ -138,7 +138,7 @@ float CSGShape3D::get_snap() const {
void CSGShape3D::_make_dirty(bool p_parent_removing) {
if ((p_parent_removing || is_root_shape()) && !dirty) {
- call_deferred("_update_shape"); // Must be deferred; otherwise, is_root_shape() will use the previous parent
+ call_deferred(SNAME("_update_shape")); // Must be deferred; otherwise, is_root_shape() will use the previous parent
}
if (!is_root_shape()) {