summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-09 21:13:54 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-09 21:13:54 +0100
commitc5dc0ee36e8d17fd0cf25f5a1fbdfb8609a64ee0 (patch)
tree8efb79ca33fda8b29fd46dbdfc44d9d8a6231d3e /indra/newview/llpanelvolume.cpp
parentc9baf4c66157c601cc4d4e325c7843b3bf9a0cad (diff)
SL-704 - code cleanup
Diffstat (limited to 'indra/newview/llpanelvolume.cpp')
-rw-r--r--indra/newview/llpanelvolume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp
index 58cbede57b..f34194db19 100644
--- a/indra/newview/llpanelvolume.cpp
+++ b/indra/newview/llpanelvolume.cpp
@@ -355,8 +355,8 @@ void LLPanelVolume::getState( )
// AXON FIXME CHECK FOR SKIN INFO ALSO
// WHAT ABOUT isPermanentEnforced?
// What about linksets with some skinned objects?
- BOOL can_be_animated_mesh = volobjp && volobjp->canBeAnimatedMesh() && editable;
- getChildView("Animated Mesh Checkbox Ctrl")->setEnabled(can_be_animated_mesh);
+ BOOL can_be_animated_object = volobjp && volobjp->canBeAnimatedObject() && editable;
+ getChildView("Animated Mesh Checkbox Ctrl")->setEnabled(can_be_animated_object);
// Flexible properties
BOOL is_flexible = volobjp && volobjp->isFlexible();