diff options
author | kobewi <kobewi4e@gmail.com> | 2023-12-18 15:46:56 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-01-09 16:11:47 +0100 |
commit | 0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136 (patch) | |
tree | 9b83683d86b94f9fdf7d6d58594d2b28d88a13ab /scene/3d/soft_body_3d.cpp | |
parent | 8297ec949bad8029372da13e1d4e36599989b5ae (diff) | |
download | redot-engine-0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136.tar.gz |
Update deferred calls to use Callables
Diffstat (limited to 'scene/3d/soft_body_3d.cpp')
-rw-r--r-- | scene/3d/soft_body_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/soft_body_3d.cpp b/scene/3d/soft_body_3d.cpp index db2c0e1387..3f1878f30f 100644 --- a/scene/3d/soft_body_3d.cpp +++ b/scene/3d/soft_body_3d.cpp @@ -416,8 +416,8 @@ void SoftBody3D::_draw_soft_mesh() { /// Necessary in order to render the mesh correctly (Soft body nodes are in global space) simulation_started = true; - call_deferred(SNAME("set_as_top_level"), true); - call_deferred(SNAME("set_transform"), Transform3D()); + callable_mp((Node3D *)this, &Node3D::set_as_top_level).call_deferred(true); + callable_mp((Node3D *)this, &Node3D::set_transform).call_deferred(Transform3D()); } _update_physics_server(); |