mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Increase chunk limit for known problematic RID_Owners.
The default limit is fine for most RID_Owners but 3d instances, CanvasItems, and physics bodies need a higher limit. There is a small memory cost to increasing the limit, so it should only be done where needed.
This commit is contained in:
parent
297650a912
commit
941ad15724
5 changed files with 5 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ class GodotPhysicsServer3D : public PhysicsServer3D {
|
|||
mutable RID_PtrOwner<GodotShape3D, true> shape_owner;
|
||||
mutable RID_PtrOwner<GodotSpace3D, true> space_owner;
|
||||
mutable RID_PtrOwner<GodotArea3D, true> area_owner;
|
||||
mutable RID_PtrOwner<GodotBody3D, true> body_owner;
|
||||
mutable RID_PtrOwner<GodotBody3D, true> body_owner{ 65536, 1048576 };
|
||||
mutable RID_PtrOwner<GodotSoftBody3D, true> soft_body_owner;
|
||||
mutable RID_PtrOwner<GodotJoint3D, true> joint_owner;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue