summaryrefslogtreecommitdiff
path: root/indra/newview/llscriptfloater.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-04-23 15:51:07 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-04-23 15:51:07 +0300
commit6113dab230074c641d659b48f76c8799cd46b741 (patch)
tree6cb1fff06c4fb67cee698605c6b66cebc9845523 /indra/newview/llscriptfloater.cpp
parent92450263ec6eb31bd8fae233c3b6fef2f200db40 (diff)
parentefd7b2502df521e945274db74f88297a358e5144 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llscriptfloater.cpp')
-rw-r--r--indra/newview/llscriptfloater.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp
index f35cb3516a..11b6c0a3ae 100644
--- a/indra/newview/llscriptfloater.cpp
+++ b/indra/newview/llscriptfloater.cpp
@@ -539,4 +539,14 @@ bool LLScriptFloaterManager::getFloaterPosition(const LLUUID& object_id, Floater
return false;
}
+void LLScriptFloaterManager::setFloaterVisible(const LLUUID& notification_id, bool visible)
+{
+ LLScriptFloater* floater = LLFloaterReg::findTypedInstance<LLScriptFloater>(
+ "script_floater", notification_id);
+ if(floater)
+ {
+ floater->setVisible(visible);
+ }
+}
+
// EOF