summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-18 19:59:14 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-08-21 19:51:04 +0300
commitef33902f220df35727ba54ee8bc3ed02bc53d6be (patch)
tree539110fb7b9bf891fa92ce27966c0f40b62a2153 /indra/newview/llpanelface.cpp
parent0b85c05f8eefc79315c5695531335ec76a7504d2 (diff)
SL-20145 GLTF specific feature notification
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 8f09136ccf..b502fa3546 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -492,6 +492,15 @@ LLPanelFace::~LLPanelFace()
unloadMedia();
}
+void LLPanelFace::onVisibilityChange(BOOL new_visibility)
+{
+ if (new_visibility)
+ {
+ gAgent.showLatestFeatureNotification("gltf");
+ }
+ LLPanel::onVisibilityChange(new_visibility);
+}
+
void LLPanelFace::draw()
{
updateCopyTexButton();