aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2014-07-21 19:15:51 +0100
committerUbitUmarov2014-07-21 19:15:51 +0100
commit726490a994b26813dfbeb521281ed41aaa2363ad (patch)
treeacf5a70ffbf3c80032f1ebea30ee142b05f3b530 /OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
parentRemove extremely spammy error message that isn't an actual error - user (diff)
downloadopensim-SC_OLD-726490a994b26813dfbeb521281ed41aaa2363ad.zip
opensim-SC_OLD-726490a994b26813dfbeb521281ed41aaa2363ad.tar.gz
opensim-SC_OLD-726490a994b26813dfbeb521281ed41aaa2363ad.tar.bz2
opensim-SC_OLD-726490a994b26813dfbeb521281ed41aaa2363ad.tar.xz
bug fix
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index 8abf6cf..309cebd 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -950,13 +950,13 @@ namespace OpenSim.Region.Physics.OdePlugin
950 bool noskip = true; 950 bool noskip = true;
951 if (dop1ava) 951 if (dop1ava)
952 { 952 {
953 if (!(((OdeCharacter)p1).Collide(g1, false, ref curContact, ref FeetCollision))) 953 if (!(((OdeCharacter)p1).Collide(g1,g2, false, ref curContact, ref FeetCollision)))
954 954
955 noskip = false; 955 noskip = false;
956 } 956 }
957 else if (dop2ava) 957 else if (dop2ava)
958 { 958 {
959 if (!(((OdeCharacter)p2).Collide(g2, true, ref curContact, ref FeetCollision))) 959 if (!(((OdeCharacter)p2).Collide(g2,g1, true, ref curContact, ref FeetCollision)))
960 noskip = false; 960 noskip = false;
961 } 961 }
962 962
@@ -1095,10 +1095,11 @@ namespace OpenSim.Region.Physics.OdePlugin
1095 // do colisions with static space 1095 // do colisions with static space
1096 d.SpaceCollide2(chr.collider, StaticSpace, IntPtr.Zero, nearCallback); 1096 d.SpaceCollide2(chr.collider, StaticSpace, IntPtr.Zero, nearCallback);
1097 1097
1098 // chars with chars
1099 d.SpaceCollide(CharsSpace, IntPtr.Zero, nearCallback);
1100 // no coll with gnd 1098 // no coll with gnd
1101 } 1099 }
1100 // chars with chars
1101 d.SpaceCollide(CharsSpace, IntPtr.Zero, nearCallback);
1102
1102 } 1103 }
1103 catch (AccessViolationException) 1104 catch (AccessViolationException)
1104 { 1105 {