CHUI-352 FIXED (Viewer crash when dropping a worn attachment): getting the item's id before destruction corresponding viewmodel's item
parent
f7f15900ea
commit
6daf27cd0f
|
|
@ -441,8 +441,9 @@ void LLInventoryPanel::modelChanged(U32 mask)
|
|||
handled = true;
|
||||
if (model_item && view_item && viewmodel_item)
|
||||
{
|
||||
const LLUUID& idp = viewmodel_item->getUUID();
|
||||
view_item->destroyView();
|
||||
removeItemID(viewmodel_item->getUUID());
|
||||
removeItemID(idp);
|
||||
}
|
||||
view_item = buildNewViews(item_id);
|
||||
viewmodel_item =
|
||||
|
|
|
|||
Loading…
Reference in New Issue