diff options
author | McCabe Maxsted | 2010-10-09 03:27:47 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-09 03:27:47 -0700 |
commit | 1866bc2af39189c17b636970d4df7edc983c1830 (patch) | |
tree | e60963a49832280cf3d2d9b5a8b589853469caee /linden/indra/newview/lltoolplacer.cpp | |
parent | Use all those cores for compile (diff) | |
download | meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.zip meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.gz meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.bz2 meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.xz |
Applied RLVa-1.1.2-Imprudence.patch by Kitty Barnett
Diffstat (limited to 'linden/indra/newview/lltoolplacer.cpp')
-rw-r--r-- | linden/indra/newview/lltoolplacer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolplacer.cpp b/linden/indra/newview/lltoolplacer.cpp index 00b0c9f..477dbca 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 | |||
72 | const LLVector3 DEFAULT_OBJECT_SCALE(0.5f, 0.5f, 0.5f); | 76 | const 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 | } |