From 11d85dac83e9d58f8f6e441dcea2d1f2b661c58d Mon Sep 17 00:00:00 2001
From: Leyla Farazha <leyla@lindenlab.com>
Date: Wed, 21 Nov 2007 01:54:53 +0000
Subject: [PATCH] world map quick fix

---
 indra/newview/llstartup.cpp      | 2 ++
 indra/newview/llviewerwindow.cpp | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index dda155d0df0..a6a9447e395 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -1548,6 +1548,8 @@ BOOL idle_startup()
 		}	
 		gLoginMenuBarView->setVisible( FALSE );
 
+		gFloaterMap->setVisible( gSavedSettings.getBOOL("ShowMiniMap") );
+
 		if (!gNoRender)
 		{
 			// Move the progress view in front of the UI
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index bc41a88e276..4baafbcfa4b 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1905,7 +1905,6 @@ void LLViewerWindow::initWorldUI()
 		// TODO: Move instance management into class
 		gFloaterMap = new LLFloaterMap("Map");
 		gFloaterMap->setFollows(FOLLOWS_TOP|FOLLOWS_RIGHT);
-		gFloaterMap->setVisible( gSavedSettings.getBOOL("ShowMiniMap") );
 
 		// keep onscreen
 		gFloaterView->adjustToFitScreen(gFloaterMap, FALSE);
-- 
GitLab