summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-03-19 13:21:39 -0400
committerLoren Shih <seraph@lindenlab.com>2010-03-19 13:21:39 -0400
commitb952a5e5851d1a8bc2a45f00248b051497fec71f (patch)
treef63c13a95aad749460b0f46de6660f649528c7ec /indra/newview/llselectmgr.cpp
parent2a3c30dc7ce2be59f168f8c02d0e86e2ae916959 (diff)
EXT-6479 : Inspect Object floater doesn't update highlight and selection
EXT-4013 : Functionality loss: Inspect object (aka see a list of creators / timestamps for all prims in a linkset) Simple fix to only use Inspect floater if it's actually active (i.e. visible).
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index c4ca4a65f8..9147bd1cba 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -4937,7 +4937,7 @@ void LLSelectMgr::renderSilhouettes(BOOL for_hud)
{
LLUUID inspect_item_id= LLUUID::null;
LLFloaterInspect* inspect_instance = LLFloaterReg::getTypedInstance<LLFloaterInspect>("inspect");
- if(inspect_instance)
+ if(inspect_instance && inspect_instance->getVisible())
{
inspect_item_id = inspect_instance->getSelectedUUID();
}