MAINT-8438: Setting attachment bake texture to None does not refresh the base avatar bake

master
Anchor Linden 2018-03-29 10:29:30 -07:00
parent 513d1728c3
commit 7c6dcae680
1 changed files with 4 additions and 1 deletions

View File

@ -1012,7 +1012,10 @@ void LLFloaterTexturePicker::onBakeTextureSelect(LLUICtrl* ctrl, void *user_data
{
self->setCanApply(true, true);
self->setImageID(self->mDefaultImageAssetID);
self->commitIfImmediateSet();
if (self->mCanPreview)
{
self->commitIfImmediateSet();
}
}
}