SL-20037 Don't pop up the material editor implicitly.

master
RunitaiLinden 2023-07-28 10:31:31 -05:00
parent 8c4fcd76ba
commit 9be08fc56b
1 changed files with 1 additions and 1 deletions

View File

@ -1532,7 +1532,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam
LLFloaterReg::showInstance("preview_sound", LLSD(obj_id), take_focus);
break;
case LLAssetType::AT_MATERIAL:
LLFloaterReg::showInstance("material_editor", LLSD(obj_id), take_focus);
// Explicitly do nothing -- we don't want to open the material editor every time you add a material to inventory
break;
default:
LL_DEBUGS("Messaging") << "No preview method for previewable asset type : " << LLAssetType::lookupHumanReadable(asset_type) << LL_ENDL;