summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnchor <none@none>2019-06-23 13:09:57 -0700
committerAnchor <none@none>2019-06-23 13:09:57 -0700
commit8faaa4b8e235bfe384772f12ffad695e5942a1a1 (patch)
treed9c59206e96513c71f25a4c724f9f8f54f30f72b
parent1318017bc987d852308e15540ef0526c0ae3962d (diff)
[SL-11433] - fix dirty flag in texture picker
-rw-r--r--indra/newview/lltexturectrl.cpp3
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();
}
}