aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewercamera.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-11-05 19:38:17 -0700
committerMcCabe Maxsted2010-11-05 19:38:17 -0700
commitc84c7fa1386665190f9043344d4849fade9c03a1 (patch)
tree83f567443a7f7458136cd89d92fc6f7851a5885b /linden/indra/newview/llviewercamera.cpp
parentMerge remote branch 'thickbrick/weekly' into weekly (diff)
downloadmeta-impy-c84c7fa1386665190f9043344d4849fade9c03a1.zip
meta-impy-c84c7fa1386665190f9043344d4849fade9c03a1.tar.gz
meta-impy-c84c7fa1386665190f9043344d4849fade9c03a1.tar.bz2
meta-impy-c84c7fa1386665190f9043344d4849fade9c03a1.tar.xz
Applied patch by Qarl Fizz to allow drag selection on plants. See http://www.qarl.com/qLab/?p=67
Diffstat (limited to 'linden/indra/newview/llviewercamera.cpp')
-rw-r--r--linden/indra/newview/llviewercamera.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewercamera.cpp b/linden/indra/newview/llviewercamera.cpp
index dade65f..16f6e57 100644
--- a/linden/indra/newview/llviewercamera.cpp
+++ b/linden/indra/newview/llviewercamera.cpp
@@ -743,7 +743,9 @@ BOOL LLViewerCamera::areVertsVisible(LLViewerObject* volumep, BOOL all_verts)
743 LLVolume* volume = volumep->getVolume(); 743 LLVolume* volume = volumep->getVolume();
744 if (!volume) 744 if (!volume)
745 { 745 {
746 return FALSE; 746 BOOL inside = pointInFrustum(volumep->getRenderPosition());
747
748 return (inside > 0);
747 } 749 }
748 750
749 LLVOVolume* vo_volume = (LLVOVolume*) volumep; 751 LLVOVolume* vo_volume = (LLVOVolume*) volumep;