summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-10 12:15:42 +0800
committerangela <angela@lindenlab.com>2009-11-10 12:15:42 +0800
commitae27a93395ef01535e03e02ec9fa5e221ce58e23 (patch)
tree0529dc96ad0f1ed9513652aad18e9702d676b772 /indra/newview
parent5662a8d126b3dab1100aab014aeaeb1752dba26a (diff)
parent6106c9a7dadcf0ba4a33ad1ee826ccd31909b893 (diff)
Automated merge with ssh://angela@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/settings.xml11
-rw-r--r--indra/newview/llfriendcard.cpp2
-rw-r--r--indra/newview/llinventorybridge.cpp1
-rw-r--r--indra/newview/llinventorymodel.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml24
5 files changed, 19 insertions, 21 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 6f6d5fb979..55ff255c38 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -3598,6 +3598,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>HideSelectedObjects</key>
+ <map>
+ <key>Comment</key>
+ <string>Hide Selected Objects</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>0</integer>
+ </map>
<key>HtmlHelpLastPage</key>
<map>
<key>Comment</key>
diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp
index c956657825..1ff2566dca 100644
--- a/indra/newview/llfriendcard.cpp
+++ b/indra/newview/llfriendcard.cpp
@@ -519,7 +519,7 @@ bool LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID)
}
LLUUID friendListFolderID = findFriendAllSubfolderUUIDImpl();
- if (shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID))
+ if (friendListFolderID.notNull() && shouldBeAdded && !invModel->isCategoryComplete(friendListFolderID))
{
mFriendsAllFolderCompleted = false;
shouldBeAdded = false;
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 84e0f58c4b..1bc9297bba 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2130,6 +2130,7 @@ void LLFolderBridge::openItem()
lldebugs << "LLFolderBridge::openItem()" << llendl;
LLInventoryModel* model = getInventoryModel();
if(!model) return;
+ if(mUUID.isNull()) return;
bool fetching_inventory = model->fetchDescendentsOf(mUUID);
// Only change folder type if we have the folder contents.
if (!fetching_inventory)
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 2693396841..4b7e364cf9 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1271,6 +1271,8 @@ void LLInventoryModel::fetchInventoryResponder::error(U32 status, const std::str
bool LLInventoryModel::fetchDescendentsOf(const LLUUID& folder_id)
{
+ if(folder_id.isNull()) return false;
+
LLViewerInventoryCategory* cat = getCategory(folder_id);
if(!cat)
{
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index df2c2465c5..dbc9601680 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -1932,18 +1932,15 @@
function="Advanced.ToggleConsole"
parameter="debug" />
</menu_item_check>
- <menu_item_check
+ <menu_item_call
label="Notifications Console"
layout="topleft"
name="Notifications"
shortcut="control|shift|5">
- <menu_item_check.on_check
- function="Advanced.CheckConsole"
- parameter="notifications" />
- <menu_item_check.on_click
- function="Floater.Show"
+ <menu_item_call.on_click
+ function="Floater.Toggle"
parameter="notifications_console" />
- </menu_item_check>
+ </menu_item_call>
<menu_item_check
label="Texture Size Console"
layout="topleft"
@@ -1994,19 +1991,6 @@
function="Advanced.ToggleConsole"
parameter="memory view" />
</menu_item_check>
- <menu_item_check
- label="Notifications Console"
- layout="topleft"
- name="Notifications"
- shortcut="control|shift|5"
- use_mac_ctrl="true">
- <menu_item_check.on_check
- function="Advanced.CheckConsole"
- parameter="notifications" />
- <menu_item_check.on_click
- function="Floater.Show"
- parameter="notifications_console" />
- </menu_item_check>
<menu_item_separator
layout="topleft" />
<menu_item_call