final DetailLevel SculptRenderDetail, final DetailLevel MeshRenderDetail) throws Exception
{
if (rprim.Meshing) return;
rprim.Meshing = true;
Primitive prim = rprim.getBasePrim();
// Regular prim
if (prim.Sculpt == null || prim.Sculpt.SculptTexture.equals(UUID.Zero))
{
System.out.println("Generating Normal Prim");
if (allowQuickAndDirtyMeshing)
{
if (prim.Flexible == null && prim.getType() == PrimType.Box &&
prim.PrimData.ProfileHollow == 0 &&
prim.PrimData.PathTwist == 0 &&
prim.PrimData.PathTaperX == 0 &&
prim.PrimData.PathTaperY == 0 &&
prim.PrimData.PathSkew == 0 &&