From f1cc99c6e80694fc768ac098e13ef3c5370f6dfe Mon Sep 17 00:00:00 2001 From: hoontee Date: Wed, 9 Mar 2022 11:23:46 -0600 Subject: Add SNAME macro optimization missed during rebase --- modules/csg/csg_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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()) { -- cgit v1.2.3