summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvolume.cpp
diff options
context:
space:
mode:
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();