aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDahlia Trimble2008-10-02 02:33:45 +0000
committerDahlia Trimble2008-10-02 02:33:45 +0000
commitcf9835130aebd93cc018433e2bb77856b1583525 (patch)
tree777377d659e24a5fc290ab9ab8bbc8f048122edd /OpenSim
parent- Added SendScriptTeleportRequest to IClientView and classes implementing it. (diff)
downloadopensim-SC-cf9835130aebd93cc018433e2bb77856b1583525.zip
opensim-SC-cf9835130aebd93cc018433e2bb77856b1583525.tar.gz
opensim-SC-cf9835130aebd93cc018433e2bb77856b1583525.tar.bz2
opensim-SC-cf9835130aebd93cc018433e2bb77856b1583525.tar.xz
Square hollow size in cylinder meshes were a little too small - fixed.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index 390f3b4..5e08fdf 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -789,6 +789,8 @@ angles24 = [
789 if (this.hollowSides != 4) 789 if (this.hollowSides != 4)
790 hollow *= 0.707f; 790 hollow *= 0.707f;
791 } 791 }
792 else if (this.sides == 24 && this.hollowSides == 4)
793 hollow *= 1.414f;
792 794
793 Profile profile = new Profile(this.sides, this.profileStart, this.profileEnd, hollow, this.hollowSides, true); 795 Profile profile = new Profile(this.sides, this.profileStart, this.profileEnd, hollow, this.hollowSides, true);
794 796