diff options
author | UbitUmarov | 2017-05-13 17:22:56 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-13 17:22:56 +0100 |
commit | dd0269df4859197ed3071db345b65eaca8a3897e (patch) | |
tree | 1f6c1aa973305ab3470d9d9ca087747ed7b3283e | |
parent | PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast ... (diff) | |
download | opensim-SC-dd0269df4859197ed3071db345b65eaca8a3897e.zip opensim-SC-dd0269df4859197ed3071db345b65eaca8a3897e.tar.gz opensim-SC-dd0269df4859197ed3071db345b65eaca8a3897e.tar.bz2 opensim-SC-dd0269df4859197ed3071db345b65eaca8a3897e.tar.xz |
fix passcollisions bool value on store
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Data/PGSQL/PGSQLSimulationData.cs | 4 |
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)); |