fix passcollisions bool value on store

0.9.0-post-fixes
UbitUmarov 2017-05-13 17:22:56 +01:00
parent 7cf82a71d6
commit dd0269df48
1 changed files with 2 additions and 2 deletions

View File

@ -2222,9 +2222,9 @@ namespace OpenSim.Data.PGSQL
parameters.Add(_Database.CreateParameter("PassTouches", false)); parameters.Add(_Database.CreateParameter("PassTouches", false));
if (prim.PassCollisions) if (prim.PassCollisions)
parameters.Add(_Database.CreateParameter("PassCollisions", false));
else
parameters.Add(_Database.CreateParameter("PassCollisions", true)); parameters.Add(_Database.CreateParameter("PassCollisions", true));
else
parameters.Add(_Database.CreateParameter("PassCollisions", false));
parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum)); parameters.Add(_Database.CreateParameter("LinkNumber", prim.LinkNum));
parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl)); parameters.Add(_Database.CreateParameter("MediaURL", prim.MediaUrl));