summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-02-12 12:05:51 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-02-12 12:05:51 -0800
commit426aca61d3c00d57d7066fb1ca5a7be8d138542e (patch)
tree8ab65d462f97bbd3ab5104c8b4d3ea497866e77a /indra/newview/llinventorybridge.cpp
parentc61cb61ecc6beca1560a93cdad4ed1bc055c57f9 (diff)
parent01d462482189abe18a52c293315ab536287b599a (diff)
Merge
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index da95eaefca..019a4b22c3 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2434,7 +2434,10 @@ void LLFolderBridge::pasteFromClipboard()
//we have to update inventory locally too
LLViewerInventoryItem* viitem = dynamic_cast<LLViewerInventoryItem*>(item);
llassert(viitem);
- changeItemParent(model, viitem, parent_id, FALSE);
+ if (viitem)
+ {
+ changeItemParent(model, viitem, parent_id, FALSE);
+ }
}
else
{