SL-10233 FIXED 'Default' button doesn't work in 'Pick:Texture' floater for multiple selections with different textures

meow-7.2.2
maxim_productengine 2018-12-14 16:48:54 +02:00
parent 2d94edf250
commit bf2efcf43e
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ LLFloaterTexturePicker::~LLFloaterTexturePicker()
void LLFloaterTexturePicker::setImageID(const LLUUID& image_id, bool set_selection /*=true*/)
{
if( mImageAssetID != image_id && mActive)
if( ((mImageAssetID != image_id) || mTentative) && mActive)
{
mNoCopyTextureSelected = FALSE;
mViewModel->setDirty(); // *TODO: shouldn't we be using setValue() here?