summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-02-22 14:07:07 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2010-02-22 14:07:07 +0200
commit865a4b4c613379aa503e8da4d546cab89df6704a (patch)
tree4d311f3af3fc204137156b8419f0fea29e366d0e /indra/newview/llviewermenu.cpp
parentab9ed2fd39d9a083c09e8e5b5e2f0b237da0db86 (diff)
Fixed normal bug EXT-4682 (Edit Linked Parts (from menu) appears to have no effect)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 989cfae464..02bde51fb6 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -6897,7 +6897,8 @@ class LLToolsEditLinkedParts : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
- BOOL select_individuals = gSavedSettings.getBOOL("EditLinkedParts");
+ BOOL select_individuals = !gSavedSettings.getBOOL("EditLinkedParts");
+ gSavedSettings.setBOOL( "EditLinkedParts", select_individuals );
if (select_individuals)
{
LLSelectMgr::getInstance()->demoteSelectionToIndividuals();