aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-05-13 17:22:56 +0100
committerUbitUmarov2017-05-13 17:22:56 +0100
commitdd0269df4859197ed3071db345b65eaca8a3897e (patch)
tree1f6c1aa973305ab3470d9d9ca087747ed7b3283e /OpenSim
parentPGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast ... (diff)
downloadopensim-SC_OLD-dd0269df4859197ed3071db345b65eaca8a3897e.zip
opensim-SC_OLD-dd0269df4859197ed3071db345b65eaca8a3897e.tar.gz
opensim-SC_OLD-dd0269df4859197ed3071db345b65eaca8a3897e.tar.bz2
opensim-SC_OLD-dd0269df4859197ed3071db345b65eaca8a3897e.tar.xz
fix passcollisions bool value on store
Diffstat (limited to 'OpenSim')
-rwxr-xr-xOpenSim/Data/PGSQL/PGSQLSimulationData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLSimulationData.cs b/OpenSim/Data/PGSQL/PGSQLSimulationData.cs
index 4d3ea96..f4af40b 100755
--- a/OpenSim/Data/PGSQL/PGSQLSimulationData.cs
+++ b/OpenSim/Data/PGSQL/PGSQLSimulationData.cs
@@ -2222,9 +2222,9 @@ namespace OpenSim.Data.PGSQL
2222 parameters.Add(_Database.CreateParameter("PassTouches", false)); 2222 parameters.Add(_Database.CreateParameter("PassTouches", false));
2223 2223
2224 if (prim.PassCollisions) 2224 if (prim.PassCollisions)
2225 parameters.Add(_Database.CreateParameter("PassCollisions", false));
2226 else
2227 parameters.Add(_Database.CreateParameter("PassCollisions", true)); 2225 parameters.Add(_Database.CreateParameter("PassCollisions", true));
2226 else
2227 parameters.Add(_Database.CreateParameter("PassCollisions", false));
2228 2228
2229 parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum)); 2229 parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum));
2230 parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl)); 2230 parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl));