diff options
-rw-r--r-- | indra/newview/lltexturectrl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index ae10972b5f..8a2fc881a9 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(); } } |