diff options
author | dahlia | 2010-03-13 18:41:36 -0800 |
---|---|---|
committer | dahlia | 2010-03-13 18:41:36 -0800 |
commit | 1e73e16fd0743ae193c59d7ba353158d30874784 (patch) | |
tree | cce3005a043a122d25c9c1e72d14a55a17ec0eaa | |
parent | add a null check in ScenePresence constructor (diff) | |
download | opensim-SC-1e73e16fd0743ae193c59d7ba353158d30874784.zip opensim-SC-1e73e16fd0743ae193c59d7ba353158d30874784.tar.gz opensim-SC-1e73e16fd0743ae193c59d7ba353158d30874784.tar.bz2 opensim-SC-1e73e16fd0743ae193c59d7ba353158d30874784.tar.xz |
flip UVs for profile faces
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 |
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() |