Reinstated the behavior of AddPrimShape *exactly* as it was as of December. Trying to fix mantis #4777
parent
954906f0bd
commit
f0f684161e
|
@ -1771,18 +1771,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
IMesh mesh = null;
|
IMesh mesh = null;
|
||||||
|
|
||||||
if (needsMeshing(pbs))
|
if (needsMeshing(pbs))
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
mesh = mesher.CreateMesh(primName, pbs, size, 32f, isPhysical);
|
mesh = mesher.CreateMesh(primName, pbs, size, 32f, isPhysical);
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName);
|
|
||||||
m_log.Debug(e.ToString());
|
|
||||||
mesh = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical);
|
result = AddPrim(primName, position, size, rotation, mesh, pbs, isPhysical);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue