missing files remove some warnings...

avinationmerge
UbitUmarov 2012-12-11 04:49:14 +00:00
parent 420015b7d0
commit 9a253c7c04
3 changed files with 3 additions and 4 deletions

View File

@ -2521,7 +2521,7 @@ namespace OpenSim.Region.Physics.OdePlugin
prm.m_collisionCategories = m_collisionCategories;
prm.m_collisionFlags = m_collisionFlags;
if (prm.prim_geom != null)
if (prm.prim_geom != IntPtr.Zero)
{
if (prm.m_NoColide)
@ -2542,7 +2542,7 @@ namespace OpenSim.Region.Physics.OdePlugin
// ((OdePrim)_parent).ChildSelectedChange(true);
if (prim_geom != null)
if (prim_geom != IntPtr.Zero)
{
if (m_NoColide)
{

View File

@ -555,7 +555,6 @@ namespace OpenSim.Region.Physics.OdePlugin
break;
default:
return;
break;
}
}

View File

@ -515,7 +515,7 @@ namespace OpenSim.Region.Physics.OdePlugin
odetimestepMS = (int)(1000.0f * ODE_STEPSIZE +0.5f);
ContactgeomsArray = Marshal.AllocHGlobal(contactsPerCollision * d.ContactGeom.unmanagedSizeOf);
GlobalContactsArray = GlobalContactsArray = Marshal.AllocHGlobal(maxContactsbeforedeath * d.Contact.unmanagedSizeOf);
GlobalContactsArray = Marshal.AllocHGlobal(maxContactsbeforedeath * d.Contact.unmanagedSizeOf);
m_materialContactsData[(int)Material.Stone].mu = 0.8f;
m_materialContactsData[(int)Material.Stone].bounce = 0.4f;