prim.PrimData.PathShearY == 0 &&
prim.PrimData.PathRevolutions == 1 &&
prim.PrimData.PathRadiusOffset == 0)
primRenderDetail = DetailLevel.Low;//Its a box or something else that can use lower meshing
}
FacetedMesh mesh = GenerateFacetedMesh(prim, primRenderDetail);
rprim.Faces = mesh.Faces;
CalculateBoundingBox(rprim);
rprim.Meshing = false;
rprim.Meshed = true;
// DumpRaw("/media/development/workspace/dev/vw/testclientjomv/openmetaverse_data/logs/"
// ,prim.LocalID, mesh);
}
else
{
System.out.println("Generating Mesh Sulpt Prim");
FacetedMesh mesh = GenerateSculptOrMeshPrim(prim, SculptRenderDetail, MeshRenderDetail);
if (mesh != null)
{
rprim.Faces = mesh.Faces;
CalculateBoundingBox(rprim);
rprim.Meshed = true;