aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorJacek Antonelli2011-05-26 04:13:41 -0500
committerJacek Antonelli2011-05-26 04:13:41 -0500
commit82507059ee320ccb4762e70e1764dbc109b015ea (patch)
treeaedf2da4cca091ebb558835213a53c12509f8080 /linden/indra
parentBetter behavior for disabled texture_picker (LLTextureCtrl) widgets. (diff)
downloadmeta-impy-82507059ee320ccb4762e70e1764dbc109b015ea.zip
meta-impy-82507059ee320ccb4762e70e1764dbc109b015ea.tar.gz
meta-impy-82507059ee320ccb4762e70e1764dbc109b015ea.tar.bz2
meta-impy-82507059ee320ccb4762e70e1764dbc109b015ea.tar.xz
Disabled the texture_picker in "Local Texture Properties". (IMP-476)
Before, the texture_picker widget in the "Local Texture Properties" floater was interactive, even though using it had no effect. Now it is disabled (noninteractive), to avoid misleading or confusing the user.
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/floaterlocalassetbrowse.cpp2
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_local_asset_browse.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/floaterlocalassetbrowse.cpp b/linden/indra/newview/floaterlocalassetbrowse.cpp
index 8ea13cc..8633ac4 100644
--- a/linden/indra/newview/floaterlocalassetbrowse.cpp
+++ b/linden/indra/newview/floaterlocalassetbrowse.cpp
@@ -943,7 +943,7 @@ void FloaterLocalAssetBrowser::UpdateRightSide()
943 sLFInstance->mLinkTxt->setText( unit->getLinkStatus() ); 943 sLFInstance->mLinkTxt->setText( unit->getLinkStatus() );
944 sLFInstance->mTypeComboBox->selectNthItem( unit->getType() ); 944 sLFInstance->mTypeComboBox->selectNthItem( unit->getType() );
945 945
946 sLFInstance->mTextureView->setEnabled(true); 946 sLFInstance->mTextureView->setEnabled(false);
947 sLFInstance->mUpdateChkBox->setEnabled(true); 947 sLFInstance->mUpdateChkBox->setEnabled(true);
948 sLFInstance->mTypeComboBox->setEnabled(true); 948 sLFInstance->mTypeComboBox->setEnabled(true);
949 } 949 }
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_local_asset_browse.xml b/linden/indra/newview/skins/default/xui/en-us/floater_local_asset_browse.xml
index f9bb3a7..a8ce59c 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_local_asset_browse.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_local_asset_browse.xml
@@ -118,12 +118,12 @@
118 default_image_name="Default" 118 default_image_name="Default"
119 can_apply_immediately="true" 119 can_apply_immediately="true"
120 follows="left|top" 120 follows="left|top"
121 label="Texture"
122 bottom_delta="20" 121 bottom_delta="20"
123 left_delta="0" 122 left_delta="0"
124 mouse_opaque="true" 123 mouse_opaque="true"
125 name="texture_view" 124 name="texture_view"
126 visible="true" 125 visible="true"
126 enabled="false"
127 /> 127 />
128 128
129 <check_box 129 <check_box