mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Fix 2d collision body update on shape remove
This commit is contained in:
parent
95f7879923
commit
3659df6624
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user