Reworked how servers preallocate RIDs, should fix #10970
This commit is contained in:
parent
0de6cba7e7
commit
192a4d7de5
27 changed files with 196 additions and 99 deletions
|
|
@ -67,7 +67,7 @@ void RectangleShape2D::_bind_methods() {
|
|||
}
|
||||
|
||||
RectangleShape2D::RectangleShape2D()
|
||||
: Shape2D(Physics2DServer::get_singleton()->shape_create(Physics2DServer::SHAPE_RECTANGLE)) {
|
||||
: Shape2D(Physics2DServer::get_singleton()->rectangle_shape_create()) {
|
||||
|
||||
extents = Vector2(10, 10);
|
||||
_update_shape();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue