Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork

avinationmerge
ubit 2013-01-26 07:13:39 +01:00
commit fdc26b801e
1 changed files with 43 additions and 39 deletions

View File

@ -1011,8 +1011,6 @@ namespace OpenSim.Region.Physics.OdePlugin
while (true)
{
if (m_global_contactcount >= maxContactsbeforedeath)
break;
// if (!(IgnoreNegSides && curContact.side1 < 0))
{
@ -1032,9 +1030,15 @@ namespace OpenSim.Region.Physics.OdePlugin
if (noskip)
{
m_global_contactcount++;
if (m_global_contactcount >= maxContactsbeforedeath)
break;
ncontacts++;
Joint = CreateContacJoint(ref curContact, mu, bounce, cfm, erpscale, dscale);
if (Joint == IntPtr.Zero)
break;
d.JointAttach(Joint, b1, b2);
if (curContact.depth > maxContact.depth)