unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403

0.6.5-rc1
Dahlia Trimble 2009-04-05 19:25:39 +00:00
parent ae98a12235
commit f73d4f9735
1 changed files with 3 additions and 1 deletions

View File

@ -215,9 +215,11 @@ namespace OpenSim.Region.Physics.Meshing
sculptType = PrimMesher.SculptMesh.SculptType.torus; sculptType = PrimMesher.SculptMesh.SculptType.torus;
break; break;
case OpenMetaverse.SculptType.Sphere: case OpenMetaverse.SculptType.Sphere:
default:
sculptType = PrimMesher.SculptMesh.SculptType.sphere; sculptType = PrimMesher.SculptMesh.SculptType.sphere;
break; break;
default:
sculptType = PrimMesher.SculptMesh.SculptType.plane;
break;
} }
bool mirror = ((primShape.SculptType & 128) != 0); bool mirror = ((primShape.SculptType & 128) != 0);