diff --git a/servers/physics_2d/godot_body_2d.cpp b/servers/physics_2d/godot_body_2d.cpp index bc31721ae71..7809fa94757 100644 --- a/servers/physics_2d/godot_body_2d.cpp +++ b/servers/physics_2d/godot_body_2d.cpp @@ -35,7 +35,7 @@ #include "godot_space_2d.h" void GodotBody2D::_mass_properties_changed() { - if (get_space() && !mass_properties_update_list.in_list() && (calculate_inertia || calculate_center_of_mass)) { + if (get_space() && !mass_properties_update_list.in_list()) { get_space()->body_add_to_mass_properties_update_list(&mass_properties_update_list); } } diff --git a/servers/physics_3d/godot_body_3d.cpp b/servers/physics_3d/godot_body_3d.cpp index 3c93fee4f83..d35f16f3ae4 100644 --- a/servers/physics_3d/godot_body_3d.cpp +++ b/servers/physics_3d/godot_body_3d.cpp @@ -35,7 +35,7 @@ #include "godot_space_3d.h" void GodotBody3D::_mass_properties_changed() { - if (get_space() && !mass_properties_update_list.in_list() && (calculate_inertia || calculate_center_of_mass)) { + if (get_space() && !mass_properties_update_list.in_list()) { get_space()->body_add_to_mass_properties_update_list(&mass_properties_update_list); } }