diff options
author | William Reynish <billrey@me.com> | 2020-01-29 11:56:07 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-01-29 11:56:07 +0300 |
commit | 787293c71f27de0fba945127f9c4dfd24123e7bc (patch) | |
tree | 7dee078a590c16b1925c4ad50e08ea882f69df06 /source/blender/editors/space_nla | |
parent | a554ff969332b99fdcbc53ec940f08df10639430 (diff) |
UI: Enable decorators in NLA Animated Influence and Strip Time panels
Since the whole point of these properties is for them to be animated, enable decorators here for easy keyframing.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_buttons.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index 3a9adb00437..4277e579274 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -492,7 +492,6 @@ static void nla_panel_evaluation(const bContext *C, Panel *pa) block = uiLayoutGetBlock(layout); UI_block_func_handle_set(block, do_nla_region_buttons, NULL); uiLayoutSetPropSep(layout, true); - uiLayoutSetPropDecorate(layout, false); uiLayoutSetEnabled(layout, RNA_boolean_get(&strip_ptr, "use_animated_influence")); uiItemR(layout, &strip_ptr, "influence", 0, NULL, ICON_NONE); @@ -531,7 +530,6 @@ static void nla_panel_animated_strip_time(const bContext *C, Panel *pa) block = uiLayoutGetBlock(layout); UI_block_func_handle_set(block, do_nla_region_buttons, NULL); uiLayoutSetPropSep(layout, true); - uiLayoutSetPropDecorate(layout, false); uiLayoutSetEnabled(layout, RNA_boolean_get(&strip_ptr, "use_animated_time")); uiItemR(layout, &strip_ptr, "strip_time", 0, NULL, ICON_NONE); |