mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
This commit is contained in:
@@ -1735,6 +1735,13 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
if (m_isphysical)
|
||||
{
|
||||
disableBodySoft();
|
||||
|
||||
if (Body != IntPtr.Zero)
|
||||
{
|
||||
d.BodySetLinearVel(Body, 0f, 0f, 0f);
|
||||
d.BodySetForce(Body, 0, 0, 0);
|
||||
enableBodySoft();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1756,6 +1763,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
d.GeomSetCategoryBits(prim_geom, (int)m_collisionCategories);
|
||||
d.GeomSetCollideBits(prim_geom, (int)m_collisionFlags);
|
||||
}
|
||||
/* Uhhh - stop the motion if the object is _selected_!!
|
||||
if (m_isphysical)
|
||||
{
|
||||
if (Body != IntPtr.Zero)
|
||||
@@ -1765,6 +1773,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
enableBodySoft();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
resetCollisionAccounting();
|
||||
|
||||
Reference in New Issue
Block a user