mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -1592,7 +1592,7 @@ namespace OpenSim.Data.MySQL
|
||||
if (prim.KeyframeMotion != null)
|
||||
cmd.Parameters.AddWithValue("KeyframeMotion", prim.KeyframeMotion.Serialize());
|
||||
else
|
||||
cmd.Parameters.AddWithValue("KeyframeMotion", new Byte[0]);
|
||||
cmd.Parameters.AddWithValue("KeyframeMotion", Array.Empty<byte>());
|
||||
|
||||
if (prim.PhysicsInertia != null)
|
||||
cmd.Parameters.AddWithValue("PhysInertia", prim.PhysicsInertia.ToXml2());
|
||||
|
||||
Reference in New Issue
Block a user