ubOde remove ols pseudo convex for sculpts

0.9.0-post-fixes
UbitUmarov 2017-07-22 00:00:46 +01:00
parent c1ab1289ab
commit 98c64f1aa9
1 changed files with 1 additions and 10 deletions

View File

@ -425,17 +425,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
Vector3 size = repData.size;
int clod = (int)LevelOfDetail.High;
bool convex;
byte shapetype = repData.shapetype;
if (shapetype == 0)
convex = false;
else
{
convex = true;
// sculpts pseudo convex
if (pbs.SculptEntry && pbs.SculptType != (byte)SculptType.Mesh)
clod = (int)LevelOfDetail.Low;
}
bool convex = shapetype == 2;
mesh = m_mesher.GetMesh(actor.Name, pbs, size, clod, true, convex);