Nullptr crash fix that has been sitting unstaged for too long.

This commit is contained in:
Shyotl
2015-07-13 15:09:15 -05:00
parent d8207424fa
commit 2b9245ba2e

View File

@@ -1322,7 +1322,7 @@ void update_inventory_item(
if (obj)
{
new_item->copyViewerItem(obj);
new_item = new LLViewerInventoryItem(obj);
new_item->fromLLSD(updates,false);
LLInventoryModel::LLCategoryUpdate up(new_item->getParentUUID(), 0);