summaryrefslogtreecommitdiff
path: root/servers/physics_3d/collision_object_3d_sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_3d/collision_object_3d_sw.h')
-rw-r--r--servers/physics_3d/collision_object_3d_sw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/physics_3d/collision_object_3d_sw.h b/servers/physics_3d/collision_object_3d_sw.h
index 0c320b3275..9506f14402 100644
--- a/servers/physics_3d/collision_object_3d_sw.h
+++ b/servers/physics_3d/collision_object_3d_sw.h
@@ -91,8 +91,9 @@ protected:
#endif
transform = p_transform;
- if (p_update_shapes)
+ if (p_update_shapes) {
_update_shapes();
+ }
}
_FORCE_INLINE_ void _set_inv_transform(const Transform &p_transform) { inv_transform = p_transform; }
void _set_static(bool p_static);