summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llscenemonitor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 57d58a9d4e..ecffc67993 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -274,17 +274,17 @@ void LLSceneMonitor::capture()
if(mEnabled != enabled)
{
if(mEnabled)
- {
+ {
+ mEnabled = enabled;
unfreezeScene();
reset();
force_capture = true;
}
else
{
+ mEnabled = enabled;
freezeScene();
}
-
- mEnabled = enabled;
}
if (mEnabled