diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index ae10972b5ff78da0e345019893496271f7ecafaf..8a2fc881a94c05240624266ccfbbb7071df2a7e1 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -746,7 +746,7 @@ void LLFloaterTexturePicker::onBtnSelect(void* userdata) local_id = LLLocalBitmapMgr::getWorldID(temp_id); } } - self->mViewModel->setDirty(); + if (self->mOnFloaterCommitCallback) { self->mOnFloaterCommitCallback(LLTextureCtrl::TEXTURE_SELECT, local_id); @@ -1589,7 +1589,6 @@ void LLTextureCtrl::setBakeTextureEnabled(BOOL enabled) if (floaterp) { floaterp->setBakeTextureEnabled(enabled); - floaterp->resetDirty(); } }