aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/SculptMesh.cs
diff options
context:
space:
mode:
authordahlia2009-09-25 13:00:49 -0700
committerdahlia2009-09-25 13:01:48 -0700
commitfb2cabd6b35bdbc966598de361044e2ff0164e5c (patch)
tree1b8ac1253c40240632499e6733ffc448fb2bf1f5 /OpenSim/Region/Physics/Meshing/SculptMesh.cs
parent* Fixes teleporting within megaregions on HG enabled regions. You can tele... (diff)
downloadopensim-SC_OLD-fb2cabd6b35bdbc966598de361044e2ff0164e5c.zip
opensim-SC_OLD-fb2cabd6b35bdbc966598de361044e2ff0164e5c.tar.gz
opensim-SC_OLD-fb2cabd6b35bdbc966598de361044e2ff0164e5c.tar.bz2
opensim-SC_OLD-fb2cabd6b35bdbc966598de361044e2ff0164e5c.tar.xz
corrections to viewerMode AddPos()
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/SculptMesh.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
index bf42fee..bd63aef 100644
--- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs
+++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
@@ -494,6 +494,18 @@ namespace PrimMesher
494 vert.Z += z; 494 vert.Z += z;
495 this.coords[i] = vert; 495 this.coords[i] = vert;
496 } 496 }
497
498 if (this.viewerFaces != null)
499 {
500 int numViewerFaces = this.viewerFaces.Count;
501
502 for (i = 0; i < numViewerFaces; i++)
503 {
504 ViewerFace v = this.viewerFaces[i];
505 v.AddPos(x, y, z);
506 this.viewerFaces[i] = v;
507 }
508 }
497 } 509 }
498 510
499 /// <summary> 511 /// <summary>
@@ -556,7 +568,7 @@ namespace PrimMesher
556 if (path == null) 568 if (path == null)
557 return; 569 return;
558 String fileName = name + "_" + title + ".raw"; 570 String fileName = name + "_" + title + ".raw";
559 String completePath = Path.Combine(path, fileName); 571 String completePath = System.IO.Path.Combine(path, fileName);
560 StreamWriter sw = new StreamWriter(completePath); 572 StreamWriter sw = new StreamWriter(completePath);
561 573
562 for (int i = 0; i < this.faces.Count; i++) 574 for (int i = 0; i < this.faces.Count; i++)