summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvolume.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-10-05 15:12:07 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-10-05 15:12:07 -0700
commit11a0d0cd59c86cee18b6b2fd92fcbac62502ede0 (patch)
tree74dba5131b40874232a8dd50a2a79f9d81d3f143 /indra/newview/llpanelvolume.cpp
parent6f9ed8b303e9e840fcd624b03ec0958dceba3dc7 (diff)
parenteda12bd009d8f71eb82b6e6238335a172d6e5fb0 (diff)
merge
Diffstat (limited to 'indra/newview/llpanelvolume.cpp')
-rw-r--r--indra/newview/llpanelvolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp
index bb87601d20..12eea7844d 100644
--- a/indra/newview/llpanelvolume.cpp
+++ b/indra/newview/llpanelvolume.cpp
@@ -351,7 +351,7 @@ void LLPanelVolume::getState( )
getChild<LLUICtrl>("Flexible1D Checkbox Ctrl")->setValue(is_flexible);
if (is_flexible || (volobjp && volobjp->canBeFlexible()))
{
- getChildView("Flexible1D Checkbox Ctrl")->setEnabled(editable && single_volume && volobjp);
+ getChildView("Flexible1D Checkbox Ctrl")->setEnabled(editable && single_volume && volobjp && !volobjp->isMesh());
}
else
{