Skip to content
Snippets Groups Projects
Commit 4f5ea39c authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-3208 FIXED Confusing button state when working with multiple textures...

MAINT-3208 FIXED Confusing button state when working with multiple textures and the default texture is the last selected.
parent cfddb46b
No related branches found
No related tags found
No related merge requests found
...@@ -586,9 +586,9 @@ void LLFloaterTexturePicker::draw() ...@@ -586,9 +586,9 @@ void LLFloaterTexturePicker::draw()
mTentativeLabel->setVisible( FALSE ); mTentativeLabel->setVisible( FALSE );
} }
getChildView("Default")->setEnabled(mImageAssetID != mOwner->getDefaultImageAssetID()); getChildView("Default")->setEnabled(mImageAssetID != mOwner->getDefaultImageAssetID() || mOwner->getTentative());
getChildView("Blank")->setEnabled(mImageAssetID != mOwner->getBlankImageAssetID()); getChildView("Blank")->setEnabled(mImageAssetID != mOwner->getBlankImageAssetID() || mOwner->getTentative());
getChildView("None")->setEnabled(mOwner->getAllowNoTexture() && !mImageAssetID.isNull() ); getChildView("None")->setEnabled(mOwner->getAllowNoTexture() && (!mImageAssetID.isNull() || mOwner->getTentative()));
LLFloater::draw(); LLFloater::draw();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment