From ca69544ae92e32fc21984c398101cda966655926 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 15 Apr 2024 00:43:04 +0100 Subject: [PATCH] update simulator features (max texture 1024px) --- OpenSim/Framework/Constants.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 2c5397089f..cec0f1eaea 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs @@ -34,6 +34,9 @@ namespace OpenSim.Framework public const int MaxAgentAttachments = 38; public const int MaxAgentGroups = 60; + public const int MaxEstateAccessIds = 500; + public const int MaxEstateManagers = 20; + // 'RegionSize' is the legacy region size. // DO NOT USE THIS FOR ANY NEW CODE. Use Scene.RegionInfo.RegionSize[XYZ] as a region might not // be the legacy region size. @@ -56,6 +59,11 @@ namespace OpenSim.Framework public const float MinWaterHeight = 0; public const float MaxWaterHeight = 8000f; + public const int MaxTextureResolution = 1024; + + public const int RenderMaterialsCapability = 4; + + public static readonly string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; //plywood public static readonly UUID DefaultTextureID = new UUID(DefaultTexture); @@ -88,10 +96,10 @@ namespace OpenSim.Framework public enum EstateAccessLimits : int { - AllowedAccess = 500, + AllowedAccess = MaxEstateAccessIds, AllowedGroups = 63, EstateBans = 500, - EstateManagers = 15 + EstateManagers = MaxEstateManagers } [Flags]public enum TeleportFlags : uint