mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
retire StringToBytes variants with string format. Do the format before calling..
This commit is contained in:
@@ -3708,7 +3708,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
Position = pos,
|
||||
RegionID = World.RegionInfo.RegionID.Guid,
|
||||
message = (message.Length > 1024) ? message[..1024] : message,
|
||||
binaryBucket = Util.StringToBytes256("{0}/{1}/{2}/{3}", m_regionName, (int)pos.X, (int)pos.Y, (int)pos.Z)
|
||||
binaryBucket = Util.StringToBytes256($"{m_regionName}/{(int)pos.X}/{(int)pos.Y}/{(int)pos.Z}")
|
||||
};
|
||||
|
||||
m_TransferModule?.SendInstantMessage(msg, delegate(bool success) {});
|
||||
|
||||
@@ -459,6 +459,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
|
||||
public const int PRIM_REFLECTION_PROBE = 44;
|
||||
|
||||
public const int PRIM_GLTF_NORMAL = 45;
|
||||
public const int PRIM_GLTF_EMISSIVE = 46;
|
||||
public const int PRIM_GLTF_METALLIC_ROUGHNESS = 47;
|
||||
public const int PRIM_GLTF_BASE_COLOR = 48;
|
||||
public const int PRIM_RENDER_MATERIAL = 49;
|
||||
|
||||
// parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user