aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolplacer.cpp
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-22 03:04:49 +0200
committerAleric Inglewood2010-10-22 03:04:49 +0200
commit4e659351474096d1a7b835a69af13cbdf84257f3 (patch)
tree912cc63d3e53fef3360fbcb908d254e5253dd88e /linden/indra/newview/lltoolplacer.cpp
parentLindenUserDir fixes, part 2. (diff)
parentMerge branch 'weekly' of http://github.com/imprudence/imprudence into weekly (diff)
downloadmeta-impy-4e659351474096d1a7b835a69af13cbdf84257f3.zip
meta-impy-4e659351474096d1a7b835a69af13cbdf84257f3.tar.gz
meta-impy-4e659351474096d1a7b835a69af13cbdf84257f3.tar.bz2
meta-impy-4e659351474096d1a7b835a69af13cbdf84257f3.tar.xz
Merge branch 'weekly' into webkit_plugins
Conflicts: linden/indra/cmake/GStreamer.cmake linden/indra/cmake/GStreamer.cmake was deleted: we're going to try to use system libs, so any improvements that have been made in weekly have been invane. linden/indra/newview/llstartup.cpp Trivial #include collision. One include added another removed. Fixed. linden/indra/newview/lltoolpie.cpp Collision with RLV, pretty trivial. Fixed. linden/indra/newview/viewer_manifest.py Trivial White space fix collision with commenting out of gstreamer libs. Fixed.
Diffstat (limited to 'linden/indra/newview/lltoolplacer.cpp')
-rw-r--r--linden/indra/newview/lltoolplacer.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolplacer.cpp b/linden/indra/newview/lltoolplacer.cpp
index 7d6c9e6..52053f5 100644
--- a/linden/indra/newview/lltoolplacer.cpp
+++ b/linden/indra/newview/lltoolplacer.cpp
@@ -69,6 +69,10 @@
69#include "llviewerparcelmgr.h" // RezWithLandGroup 69#include "llviewerparcelmgr.h" // RezWithLandGroup
70#include "roles_constants.h" // Ele: Land Group Override 70#include "roles_constants.h" // Ele: Land Group Override
71 71
72// [RLVa:KB]
73#include "rlvhandler.h"
74// [/RLVa:KB]
75
72const LLVector3 DEFAULT_OBJECT_SCALE(0.5f, 0.5f, 0.5f); 76const LLVector3 DEFAULT_OBJECT_SCALE(0.5f, 0.5f, 0.5f);
73 77
74//static 78//static
@@ -556,8 +560,8 @@ BOOL LLToolPlacer::placeObject(S32 x, S32 y, MASK mask)
556{ 560{
557 BOOL added = TRUE; 561 BOOL added = TRUE;
558 562
559// [RLVa:KB] - Checked: 2009-07-05 (RLVa-1.0.0b) 563// [RLVa:KB] - Checked: 2010-01-02 (RLVa-1.1.0l) | Modified: RLVa-1.1.0l
560 if (gRlvHandler.hasBehaviour(RLV_BHVR_REZ)) 564 if ( (rlv_handler_t::isEnabled()) && ((gRlvHandler.hasBehaviour(RLV_BHVR_REZ)) || (gRlvHandler.hasBehaviour(RLV_BHVR_INTERACT))) )
561 { 565 {
562 return TRUE; // Callers seem to expect a "did you handle it?" so we return TRUE rather than FALSE 566 return TRUE; // Callers seem to expect a "did you handle it?" so we return TRUE rather than FALSE
563 } 567 }