Skip to content

Commit

Permalink
Fix 2d collision body update on shape remove
Browse files Browse the repository at this point in the history
(cherry picked from commit 3659df6)
  • Loading branch information
lethiandev authored and hpvb committed Feb 19, 2018
1 parent a423adb commit a76dfe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servers/physics_2d/collision_object_2d_sw.cpp
Expand Up @@ -100,6 +100,7 @@ void CollisionObject2DSW::remove_shape(int p_index) {
shapes[p_index].shape->remove_owner(this);
shapes.remove(p_index);

_update_shapes();
_shapes_changed();
}

Expand Down

0 comments on commit a76dfe9

Please sign in to comment.