From 787293c71f27de0fba945127f9c4dfd24123e7bc Mon Sep 17 00:00:00 2001 From: William Reynish Date: Wed, 29 Jan 2020 09:56:07 +0100 Subject: [PATCH] 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. --- source/blender/editors/space_nla/nla_buttons.c | 2 -- 1 file changed, 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);