aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLSimulationData.cs
diff options
context:
space:
mode:
authorMelanie2012-07-07 02:29:21 +0200
committerMelanie2012-07-07 02:29:21 +0200
commit3024bdd097ab3d4378501da1d00fa6e12da3dfe6 (patch)
tree374d6658cde353eb9649fccfbce00ff190fe7be2 /OpenSim/Data/MySQL/MySQLSimulationData.cs
parentAdd saving vehicle physics data to the database (diff)
downloadopensim-SC_OLD-3024bdd097ab3d4378501da1d00fa6e12da3dfe6.zip
opensim-SC_OLD-3024bdd097ab3d4378501da1d00fa6e12da3dfe6.tar.gz
opensim-SC_OLD-3024bdd097ab3d4378501da1d00fa6e12da3dfe6.tar.bz2
opensim-SC_OLD-3024bdd097ab3d4378501da1d00fa6e12da3dfe6.tar.xz
Fix storing vehicle data
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLSimulationData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index fecc329..7df5a81 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -1647,9 +1647,9 @@ namespace OpenSim.Data.MySQL
1647 cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness); 1647 cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness);
1648 1648
1649 if (prim.VehicleParams != null) 1649 if (prim.VehicleParams != null)
1650 {
1651 cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2()); 1650 cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2());
1652 } 1651 else
1652 cmd.Parameters.AddWithValue("Vehicle", String.Empty);
1653 } 1653 }
1654 1654
1655 /// <summary> 1655 /// <summary>