aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-10-16 22:33:10 -0700
committerMcCabe Maxsted2010-10-16 22:33:29 -0700
commit08404fb68f60f9432008e58be6e48cae6d9a228a (patch)
treec78065f517af04b4bb6d41ff3fdeed6bfee437b9 /linden/indra
parentPorted profile button in friendship requests from Phoenix (diff)
downloadmeta-impy-08404fb68f60f9432008e58be6e48cae6d9a228a.zip
meta-impy-08404fb68f60f9432008e58be6e48cae6d9a228a.tar.gz
meta-impy-08404fb68f60f9432008e58be6e48cae6d9a228a.tar.bz2
meta-impy-08404fb68f60f9432008e58be6e48cae6d9a228a.tar.xz
Disabled inventory loading on login unless FetchInventoryOnLogin is true (default to false)
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/app_settings/settings.xml16
-rw-r--r--linden/indra/newview/llstartup.cpp7
2 files changed, 21 insertions, 2 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 3be4ed4..8c280d4 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -4,6 +4,8 @@
4 4
5 <!-- Imprudence-specific settings --> 5 <!-- Imprudence-specific settings -->
6 6
7 <!-- begin name highlighting -->
8
7 <key>nick01</key> 9 <key>nick01</key>
8 <map> 10 <map>
9 <key>Comment</key> 11 <key>Comment</key>
@@ -102,6 +104,9 @@
102 <real>1</real> 104 <real>1</real>
103 </array> 105 </array>
104 </map> 106 </map>
107
108 <!-- end name highlighting -->
109
105 <key>AllowMUpose</key> 110 <key>AllowMUpose</key>
106 <map> 111 <map>
107 <key>Comment</key> 112 <key>Comment</key>
@@ -289,6 +294,17 @@
289 <key>Value</key> 294 <key>Value</key>
290 <integer>1</integer> 295 <integer>1</integer>
291 </map> 296 </map>
297 <key>FetchInventoryOnLogin</key>
298 <map>
299 <key>Comment</key>
300 <string>Automatically fetch the inventory in the background after login (has issues)</string>
301 <key>Persist</key>
302 <integer>1</integer>
303 <key>Type</key>
304 <string>Boolean</string>
305 <key>Value</key>
306 <integer>0</integer>
307 </map>
292 <key>FloaterAnimationListRect</key> 308 <key>FloaterAnimationListRect</key>
293 <map> 309 <map>
294 <key>Comment</key> 310 <key>Comment</key>
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index e997e5f..08d6d3f 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -2788,8 +2788,11 @@ bool idle_startup()
2788 // Have the agent start watching the friends list so we can update proxies 2788 // Have the agent start watching the friends list so we can update proxies
2789 gAgent.observeFriends(); 2789 gAgent.observeFriends();
2790 2790
2791 // Start loading inventory 2791 if (gSavedSettings.getBOOL("FetchInventoryOnLogin"))
2792 gInventory.startBackgroundFetch(); 2792 {
2793 // Start loading inventory
2794 gInventory.startBackgroundFetch();
2795 }
2793 2796
2794 if (gSavedSettings.getBOOL("LoginAsGod")) 2797 if (gSavedSettings.getBOOL("LoginAsGod"))
2795 { 2798 {