Merge pull request #16803 from lethiandev/fix-remove-shape2d

Fix 2d collision body update on shape remove
This commit is contained in:
Rémi Verschelde 2018-02-19 18:22:21 +01:00 committed by GitHub
commit d9f26af533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}