aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing
diff options
context:
space:
mode:
authordahlia2010-03-13 18:41:36 -0800
committerdahlia2010-03-13 18:41:36 -0800
commit1e73e16fd0743ae193c59d7ba353158d30874784 (patch)
treecce3005a043a122d25c9c1e72d14a55a17ec0eaa /OpenSim/Region/Physics/Meshing
parentadd a null check in ScenePresence constructor (diff)
downloadopensim-SC_OLD-1e73e16fd0743ae193c59d7ba353158d30874784.zip
opensim-SC_OLD-1e73e16fd0743ae193c59d7ba353158d30874784.tar.gz
opensim-SC_OLD-1e73e16fd0743ae193c59d7ba353158d30874784.tar.bz2
opensim-SC_OLD-1e73e16fd0743ae193c59d7ba353158d30874784.tar.xz
flip UVs for profile faces
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index b75e271..6e9654b 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -1020,7 +1020,7 @@ namespace PrimMesher
1020 { 1020 {
1021 this.faceUVs = new List<UVCoord>(); 1021 this.faceUVs = new List<UVCoord>();
1022 foreach (Coord c in this.coords) 1022 foreach (Coord c in this.coords)
1023 this.faceUVs.Add(new UVCoord(1.0f - (0.5f + c.X), 1.0f - (0.5f - c.Y))); 1023 this.faceUVs.Add(new UVCoord(0.5f + c.X, 0.5f - c.Y));
1024 } 1024 }
1025 1025
1026 internal Profile Copy() 1026 internal Profile Copy()