CID-144
Checker: NULL_RETURNS Function: LLInvFVBridgeAction::doAction(const LLUUID &, LLInventoryModel *) File: /indra/newview/llinventorybridge.cppmeow-7.2.2
parent
10c9f17301
commit
0cf46fe136
|
|
@ -5096,12 +5096,18 @@ void LLInvFVBridgeAction::doAction(LLAssetType::EType asset_type,
|
|||
//static
|
||||
void LLInvFVBridgeAction::doAction(const LLUUID& uuid, LLInventoryModel* model)
|
||||
{
|
||||
LLAssetType::EType asset_type = model->getItem(uuid)->getType();
|
||||
LLInvFVBridgeAction* action = createAction(asset_type,uuid,model);
|
||||
if(action)
|
||||
llassert(model);
|
||||
LLViewerInventoryItem* item = model->getItem(uuid);
|
||||
llassert(item);
|
||||
if (item)
|
||||
{
|
||||
action->doIt();
|
||||
delete action;
|
||||
LLAssetType::EType asset_type = item->getType();
|
||||
LLInvFVBridgeAction* action = createAction(asset_type,uuid,model);
|
||||
if(action)
|
||||
{
|
||||
action->doIt();
|
||||
delete action;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue