Commit 8faaa4b8 authored by Anchor's avatar Anchor
Browse files

[SL-11433] - fix dirty flag in texture picker

parent 1318017b
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment