aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-04-19 17:43:34 -0700
committerMcCabe Maxsted2011-04-19 17:43:34 -0700
commit6320754272fca9cdd1b0d993b426644d7ca4101a (patch)
treeaeb7f8b108b9b6ee1a651bbcaf3915c600c4c830 /linden/indra/newview
parentModified tag color setting to change the color for all Imprudence tags the cl... (diff)
downloadmeta-impy-6320754272fca9cdd1b0d993b426644d7ca4101a.zip
meta-impy-6320754272fca9cdd1b0d993b426644d7ca4101a.tar.gz
meta-impy-6320754272fca9cdd1b0d993b426644d7ca4101a.tar.bz2
meta-impy-6320754272fca9cdd1b0d993b426644d7ca4101a.tar.xz
Applied fix for crash when item just added to the inventory is renamed, ported from Phoenix, patch by Henri Beauchamp and Ansariel Hiller
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llviewerinventory.cpp7
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml7
2 files changed, 10 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewerinventory.cpp b/linden/indra/newview/llviewerinventory.cpp
index 0e06353..5f06b88 100644
--- a/linden/indra/newview/llviewerinventory.cpp
+++ b/linden/indra/newview/llviewerinventory.cpp
@@ -165,10 +165,9 @@ void LLViewerInventoryItem::updateServer(BOOL is_new) const
165{ 165{
166 if(!mIsComplete) 166 if(!mIsComplete)
167 { 167 {
168 // *FIX: deal with this better. 168 llwarns << "LLViewerInventoryItem::updateServer() - for incomplete item"
169 // If we're crashing here then the UI is incorrectly enabled. 169 << llendl;
170 llerrs << "LLViewerInventoryItem::updateServer() - for incomplete item" 170 LLNotifications::instance().add("IncompleteInventoryItem");
171 << llendl;
172 return; 171 return;
173 } 172 }
174 if(gAgent.getID() != mPermissions.getOwner()) 173 if(gAgent.getID() != mPermissions.getOwner())
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
index d9b415e..439b102 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7233,6 +7233,13 @@ You have entered an invalid password! Please try again.
7233</notification> 7233</notification>
7234 7234
7235<notification 7235<notification
7236 icon="notifytip.tga"
7237 name="IncompleteInventoryItem"
7238 type="notifytip">
7239The item you are accessing is not yet locally available. Please try again in a minute.
7240</notification>
7241
7242<notification
7236 icon="alert.tga" 7243 icon="alert.tga"
7237 name="ShowLookAtInfo" 7244 name="ShowLookAtInfo"
7238 type="alert"> 7245 type="alert">