diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs b/OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs index 655b325..bc1375b 100644 --- a/OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs +++ b/OpenSim/Region/Physics/UbitMeshing/SculptMesh.cs | |||
@@ -48,7 +48,12 @@ namespace PrimMesher | |||
48 | { | 48 | { |
49 | if (mirror) | 49 | if (mirror) |
50 | invert = !invert; | 50 | invert = !invert; |
51 | _SculptMesh(new SculptMap(sculptBitmap, lod).ToRows(mirror), sculptType, invert); | 51 | |
52 | SculptMap smap = new SculptMap(sculptBitmap, lod); | ||
53 | |||
54 | List<List<Coord>> rows = smap.ToRows(mirror); | ||
55 | |||
56 | _SculptMesh(rows, sculptType, invert); | ||
52 | } | 57 | } |
53 | 58 | ||
54 | private void _SculptMesh(List<List<Coord>> rows, SculptType sculptType, bool invert) | 59 | private void _SculptMesh(List<List<Coord>> rows, SculptType sculptType, bool invert) |