mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Add SNAME macro optimization missed during rebase
This commit is contained in:
parent
922348f4c0
commit
f1cc99c6e8
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user