From cf9835130aebd93cc018433e2bb77856b1583525 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Thu, 2 Oct 2008 02:33:45 +0000 Subject: Square hollow size in cylinder meshes were a little too small - fixed. --- OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region') 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 = [ if (this.hollowSides != 4) hollow *= 0.707f; } + else if (this.sides == 24 && this.hollowSides == 4) + hollow *= 1.414f; Profile profile = new Profile(this.sides, this.profileStart, this.profileEnd, hollow, this.hollowSides, true); -- cgit v1.1