diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-08-01 15:18:32 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-08-01 15:18:32 +0300 |
commit | 84677aad4cfb5b892f9037118b0bb6cdbe9d6309 (patch) | |
tree | eb51007c4aedc990c23945f4a824dff687065c5b /indra/newview/lltexturectrl.cpp | |
parent | 0888078bd86136ed198d38b95f79f4bd1bdc3ed1 (diff) |
MAINT-6602 disable ability to select local textures
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
-rw-r--r-- | indra/newview/lltexturectrl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index a93f8da3f0..fd13f60606 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -941,6 +941,11 @@ void LLFloaterTexturePicker::onFilterEdit(const std::string& search_string ) mInventoryPanel->setFilterSubString(search_string); } +void LLFloaterTexturePicker::setLocalTextureEnabled(BOOL enabled) +{ + mModeSelector->setIndexEnabled(1,enabled); +} + void LLFloaterTexturePicker::onTextureSelect( const LLTextureEntry& te ) { LLUUID inventory_item_id = findItemID(te.getID(), TRUE); |