Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
commit
fdc26b801e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue