aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcameraview.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llcameraview.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/linden/indra/newview/llcameraview.cpp b/linden/indra/newview/llcameraview.cpp
index c510823..6c63359 100644
--- a/linden/indra/newview/llcameraview.cpp
+++ b/linden/indra/newview/llcameraview.cpp
@@ -124,17 +124,11 @@ void LLFloaterCamera::onClose(bool app_quitting)
124// static 124// static
125void LLFloaterCamera::show(void*) 125void LLFloaterCamera::show(void*)
126{ 126{
127 if (gFloaterCamera) 127 if(!gFloaterCamera)
128 {
129 gFloaterCamera->open();
130 }
131 else
132 { 128 {
133 gFloaterCamera = new LLFloaterCamera("camera floater"); 129 gFloaterCamera = new LLFloaterCamera("camera floater");
134
135 gFloaterCamera->open();
136 } 130 }
137 131 gFloaterCamera->open(); /* Flawfinder: ignore */
138 gSavedSettings.setBOOL("ShowCameraControls", TRUE); 132 gSavedSettings.setBOOL("ShowCameraControls", TRUE);
139} 133}
140 134