summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-03-26 11:08:36 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-03-26 11:08:36 +0200
commitffbf11e4430041d1df17e21e70d40348467a8d9d (patch)
treed561b35bc329260083b65248e863d86dee930f46
parentbb0515db318ee4e528da75160e982b38dd9b4b5f (diff)
MAINT-2018 FIXED Viewer crashes when copying and pasting an empty outfit folder
-rwxr-xr-xindra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 101b16b027..75a4c22d33 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -3241,7 +3241,7 @@ void LLFolderBridge::pasteFromClipboard()
{
if (move_is_into_current_outfit || move_is_into_outfit)
{
- if (can_move_to_outfit(item, move_is_into_current_outfit))
+ if (item && can_move_to_outfit(item, move_is_into_current_outfit))
{
dropToOutfit(item, move_is_into_current_outfit);
}