aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-04-14 22:34:55 -0700
committerMcCabe Maxsted2011-04-14 22:34:55 -0700
commit562b0ab82bf929ef338374f5b71ba5a3a3f5c267 (patch)
tree4ce99b45cdce56e8c94baad5580a04380a9f9bba /linden/indra/llmath
parentAdded button for the full viewer to the minimap. Now need to think about the ... (diff)
downloadmeta-impy-562b0ab82bf929ef338374f5b71ba5a3a3f5c267.zip
meta-impy-562b0ab82bf929ef338374f5b71ba5a3a3f5c267.tar.gz
meta-impy-562b0ab82bf929ef338374f5b71ba5a3a3f5c267.tar.bz2
meta-impy-562b0ab82bf929ef338374f5b71ba5a3a3f5c267.tar.xz
Applied lineSegmentIntersectFix from the Cool Viewer, backported from SG2
Diffstat (limited to 'linden/indra/llmath')
-rw-r--r--linden/indra/llmath/llvolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp
index c4c3f07..618048c 100644
--- a/linden/indra/llmath/llvolume.cpp
+++ b/linden/indra/llmath/llvolume.cpp
@@ -3583,7 +3583,7 @@ S32 LLVolume::lineSegmentIntersect(const LLVector3& start, const LLVector3& end,
3583 if (face == -1) // ALL_SIDES 3583 if (face == -1) // ALL_SIDES
3584 { 3584 {
3585 start_face = 0; 3585 start_face = 0;
3586 end_face = getNumFaces() - 1; 3586 end_face = getNumVolumeFaces() - 1;
3587 } 3587 }
3588 else 3588 else
3589 { 3589 {