* killed a 'new mass' debug line.
parent
e333eaf4b6
commit
fe1f15f4ec
|
@ -598,7 +598,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
if (Body != (IntPtr) 0)
|
if (Body != (IntPtr) 0)
|
||||||
{
|
{
|
||||||
float newmass = CalculateMass();
|
float newmass = CalculateMass();
|
||||||
m_log.Info("[PHYSICS]: New Mass: " + newmass.ToString());
|
//m_log.Info("[PHYSICS]: New Mass: " + newmass.ToString());
|
||||||
|
|
||||||
if (newmass <= 0) newmass = 0.0001f;
|
if (newmass <= 0) newmass = 0.0001f;
|
||||||
d.MassSetBoxTotal(out pMass, newmass, _size.X, _size.Y, _size.Z);
|
d.MassSetBoxTotal(out pMass, newmass, _size.X, _size.Y, _size.Z);
|
||||||
|
|
Loading…
Reference in New Issue