mirror of
https://github.com/godotengine/godot.git
synced 2025-04-25 01:48:08 +08:00
Fix 2d collision body update on shape remove
(cherry picked from commit 3659df6624861903456943cb17efd94ace6f2b5f)
This commit is contained in:
parent
a423adbee6
commit
a76dfe9c72
@ -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…
x
Reference in New Issue
Block a user