From 307c45af2abc3246ae93e4f068d1da7679957be3 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 5 Aug 2012 12:54:34 +0100 Subject: bug fix: keep sculpt bitmaps border pixels during resolution scaling. let this eventually have diferent interpolator last steps on each direction as sl seems to do. --- OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs') diff --git a/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs b/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs index 88efd6d..3b1bdfb 100644 --- a/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs @@ -314,6 +314,9 @@ namespace OpenSim.Region.Physics.Meshing coords[f.v3].X, coords[f.v3].Y, coords[f.v3].Z)); } + coords.Clear(); + faces.Clear(); + return mesh; } -- cgit v1.1