Browse Source

Merge pull request #58937 from hoontee/master

Add SNAME macro optimization missed during rebase of #40814
Rémi Verschelde 3 years ago
parent
commit
3a7dd7f323
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/csg/csg_shape.cpp

+ 1 - 1
modules/csg/csg_shape.cpp

@@ -138,7 +138,7 @@ float CSGShape3D::get_snap() const {
 
 
 void CSGShape3D::_make_dirty(bool p_parent_removing) {
 void CSGShape3D::_make_dirty(bool p_parent_removing) {
 	if ((p_parent_removing || is_root_shape()) && !dirty) {
 	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()) {
 	if (!is_root_shape()) {