mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05: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:
@@ -60,7 +60,7 @@ class GodotPhysicsServer2D : public PhysicsServer2D {
|
||||
mutable RID_PtrOwner<GodotShape2D, true> shape_owner;
|
||||
mutable RID_PtrOwner<GodotSpace2D, true> space_owner;
|
||||
mutable RID_PtrOwner<GodotArea2D, true> area_owner;
|
||||
mutable RID_PtrOwner<GodotBody2D, true> body_owner;
|
||||
mutable RID_PtrOwner<GodotBody2D, true> body_owner{ 65536, 1048576 };
|
||||
mutable RID_PtrOwner<GodotJoint2D, true> joint_owner;
|
||||
|
||||
static GodotPhysicsServer2D *godot_singleton;
|
||||
|
||||
Reference in New Issue
Block a user