summaryrefslogtreecommitdiff
path: root/indra/newview/llscriptfloater.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-22 11:03:18 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-22 11:03:18 +0100
commitce8451a2578e09c00ef53b768a5dbb3e87999d0c (patch)
tree1213eb2c146e368f89b8b481df926a51641823d0 /indra/newview/llscriptfloater.cpp
parent7bb4436b488f70d842cd1382d8089ecae29234c0 (diff)
parenta4e20e993250022872e5f4add8fb49004f9f7dbf (diff)
merge from PE's viewer-trunk 'notifications'
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