aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp39
1 files changed, 37 insertions, 2 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 6c37341..6cb6c55 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -48,6 +48,7 @@
48#include "audiosettings.h" 48#include "audiosettings.h"
49#include "llares.h" 49#include "llares.h"
50#include "llcachename.h" 50#include "llcachename.h"
51#include "llcameraview.h"
51#include "llviewercontrol.h" 52#include "llviewercontrol.h"
52#include "lldir.h" 53#include "lldir.h"
53#include "lleconomy.h" 54#include "lleconomy.h"
@@ -61,6 +62,7 @@
61#include "llmd5.h" 62#include "llmd5.h"
62#include "llmemorystream.h" 63#include "llmemorystream.h"
63#include "llmessageconfig.h" 64#include "llmessageconfig.h"
65#include "llmoveview.h"
64#include "llregionhandle.h" 66#include "llregionhandle.h"
65#include "llsd.h" 67#include "llsd.h"
66#include "llsdserialize.h" 68#include "llsdserialize.h"
@@ -593,6 +595,7 @@ BOOL idle_startup()
593 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD; 595 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD;
594 codec << "]"; 596 codec << "]";
595 LLMozLib::getInstance()->setBrowserAgentId( codec.str() ); 597 LLMozLib::getInstance()->setBrowserAgentId( codec.str() );
598 LLMozLib::getInstance()->enableProxy( gSavedSettings.getBOOL("BrowserProxyEnabled"), gSavedSettings.getString("BrowserProxyAddress"), gSavedSettings.getS32("BrowserProxyPort") );
596 #endif 599 #endif
597 600
598 //------------------------------------------------- 601 //-------------------------------------------------
@@ -1556,6 +1559,15 @@ BOOL idle_startup()
1556 1559
1557 gFloaterMap->setVisible( gSavedSettings.getBOOL("ShowMiniMap") ); 1560 gFloaterMap->setVisible( gSavedSettings.getBOOL("ShowMiniMap") );
1558 1561
1562 if (gSavedSettings.getBOOL("ShowCameraControls"))
1563 {
1564 LLFloaterCamera::show(NULL);
1565 }
1566 if (gSavedSettings.getBOOL("ShowMovementControls"))
1567 {
1568 LLFloaterMove::show(NULL);
1569 }
1570
1559 if (!gNoRender) 1571 if (!gNoRender)
1560 { 1572 {
1561 // Move the progress view in front of the UI 1573 // Move the progress view in front of the UI
@@ -1737,10 +1749,33 @@ BOOL idle_startup()
1737 } 1749 }
1738 else 1750 else
1739 { 1751 {
1740 llinfos << ".. initialized successfully." << llendl; 1752 //llinfos << "######### QuickTime version (hex) is " << std::hex << LLMediaEngine::getInstance()->getQuickTimeVersion() << llendl;
1741 set_startup_status(0.57f, "QuickTime initialized successfully.", gAgent.mMOTD.c_str()); 1753 //llinfos << "######### QuickTime version is " << std::dec << LLMediaEngine::getInstance()->getQuickTimeVersion() << llendl;
1754 if ( LLMediaEngine::getInstance()->getQuickTimeVersion() < LL_MIN_QUICKTIME_VERSION )
1755 {
1756 // turn off QuickTime if version is less than required
1757 LLMediaEngine::getInstance ()->setAvailable ( FALSE );
1758
1759 // display a message here explaining why we disabled QuickTime
1760 gViewerWindow->alertXml("QuickTimeOutOfDate");
1761 }
1762 else
1763 {
1764 llinfos << ".. initialized successfully." << llendl;
1765 set_startup_status(0.57f, "QuickTime initialized successfully.", gAgent.mMOTD.c_str());
1766 };
1742 }; 1767 };
1768 #elif LL_DARWIN
1769 if ( LLMediaEngine::getInstance()->getQuickTimeVersion() < LL_MIN_QUICKTIME_VERSION )
1770 {
1771 // turn off QuickTime if version is less than required
1772 LLMediaEngine::getInstance ()->setAvailable ( FALSE );
1773
1774 // display a message here explaining why we disabled QuickTime
1775 gViewerWindow->alertXml("QuickTimeOutOfDate");
1776 }
1743 #endif 1777 #endif
1778
1744 EnterMovies (); 1779 EnterMovies ();
1745 gQuickTimeInitialized = true; 1780 gQuickTimeInitialized = true;
1746 } 1781 }