summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-03-14 20:54:28 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-03-14 20:54:28 -0600
commitba54846697aded3a19cb91d53436d3ab26fa0aed (patch)
treefdea2514d9fd341ec375609a6d95198837918cb6 /indra/newview
parentb9c78533ae701fe6af5263e902f8df93c558e493 (diff)
for SH-3968: Rendering issues when scene loading monitoring code disabled on Mac.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llscenemonitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 189697dcf0..82ab90e325 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -410,6 +410,7 @@ void LLSceneMonitorView::onClickCloseBtn()
void LLSceneMonitorView::setVisible(BOOL visible)
{
+ visible = visible && LLGLSLShader::sNoFixedFunction;
LLSceneMonitor::getInstance()->setDebugViewerVisible(visible);
LLView::setVisible(visible);