Fix crash when item just added to inventory is renamed. From Henri Beauchamp, adapted to Phoenix by Ansariel Hiller. From PHOE-2529.
parent
ea88cf2024
commit
397ab96200
|
|
@ -323,8 +323,9 @@ void LLViewerInventoryItem::updateServer(BOOL is_new) const
|
|||
{
|
||||
// *FIX: deal with this better.
|
||||
// If we're crashing here then the UI is incorrectly enabled.
|
||||
llerrs << "LLViewerInventoryItem::updateServer() - for incomplete item"
|
||||
llwarns << "LLViewerInventoryItem::updateServer() - for incomplete item"
|
||||
<< llendl;
|
||||
LLNotificationsUtil::add("IncompleteInventoryItem");
|
||||
return;
|
||||
}
|
||||
if(gAgent.getID() != mPermissions.getOwner())
|
||||
|
|
|
|||
|
|
@ -4767,6 +4767,13 @@ Unable to load the script. Please try again.
|
|||
Some of the contents are you trying to share cannot be given/transferred just yet. Please try offering these items again in a bit.
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="IncompleteInventoryItem"
|
||||
type="notifytip">
|
||||
The item you are accessing is not yet locally available. Please try again in a minute.
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="CannotModifyProtectedCategories"
|
||||
|
|
|
|||
Loading…
Reference in New Issue