Feature Request: Make Inspect button a toggler~

This commit is contained in:
Inusaito Sayori
2014-06-05 23:54:15 -04:00
parent f6db6058e1
commit f63de0d0cc
10 changed files with 15 additions and 21 deletions

View File

@@ -5709,7 +5709,7 @@ void LLSelectMgr::renderSilhouettes(BOOL for_hud)
if (mSelectedObjects->getNumNodes())
{
LLUUID inspect_item_id= LLUUID::null;
LLFloaterInspect* inspect_instance = LLFloaterInspect::instanceExists() ? LLFloaterInspect::getInstance() : NULL;
LLFloaterInspect* inspect_instance = LLFloaterInspect::findInstance();
if(inspect_instance && inspect_instance->getVisible())
{
inspect_item_id = inspect_instance->getSelectedUUID();
@@ -6447,7 +6447,7 @@ void dialog_refresh_all()
LLFloaterProperties::dirtyAll();
LLFloaterInspect* inspect_instance = LLFloaterInspect::instanceExists() ? LLFloaterInspect::getInstance() : NULL;
LLFloaterInspect* inspect_instance = LLFloaterInspect::findInstance();
if(inspect_instance)
{
inspect_instance->dirty();