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 c5773d0c61..9dd798af26 100644
--- a/servers/physics_3d/collision_object_3d_sw.h
+++ b/servers/physics_3d/collision_object_3d_sw.h
@@ -92,7 +92,8 @@ protected:
#endif
transform = p_transform;
- if (p_update_shapes) _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);