Fix storing vehicle data
parent
6535f23e4b
commit
3024bdd097
|
@ -1647,9 +1647,9 @@ namespace OpenSim.Data.MySQL
|
||||||
cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness);
|
cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness);
|
||||||
|
|
||||||
if (prim.VehicleParams != null)
|
if (prim.VehicleParams != null)
|
||||||
{
|
|
||||||
cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2());
|
cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2());
|
||||||
}
|
else
|
||||||
|
cmd.Parameters.AddWithValue("Vehicle", String.Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue