summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-22 17:01:31 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-22 17:01:31 +0200
commit5121891e473ba6e511c2f2cff2a5c1217e4c93a8 (patch)
tree3cba8715da8d5ba6efce8d1e8486488eab9a8b30 /indra
parent0a98034641267ea57360fdd369acb8b94ff9bc20 (diff)
Update for normal bug EXT-3520 - Can't open Group Notices or Attachments.
Attachments will be opened in a preview floater. --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewermessage.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 6a31bbfa1e..519f58ca95 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -906,7 +906,20 @@ void open_inventory_offer(const std::vector<LLUUID>& items, const std::string& f
LLFloaterReg::showInstance("preview_texture", LLSD(item_id), take_focus);
break;
}
+ case LLAssetType::AT_ANIMATION:
+ LLFloaterReg::showInstance("preview_anim", LLSD(item_id), take_focus);
+ break;
+ case LLAssetType::AT_GESTURE:
+ LLFloaterReg::showInstance("preview_gesture", LLSD(item_id), take_focus);
+ break;
+ case LLAssetType::AT_SCRIPT:
+ LLFloaterReg::showInstance("preview_script", LLSD(item_id), take_focus);
+ break;
+ case LLAssetType::AT_SOUND:
+ LLFloaterReg::showInstance("preview_sound", LLSD(item_id), take_focus);
+ break;
default:
+ LLFloaterReg::showInstance("properties", LLSD(item_id), take_focus);
break;
}
}