[Bf-blender-cvs] [787293c71f2] master: UI: Enable decorators in NLA Animated Influence and Strip Time panels

William Reynish noreply at git.blender.org
Wed Jan 29 09:56:13 CET 2020


Commit: 787293c71f27de0fba945127f9c4dfd24123e7bc
Author: William Reynish
Date:   Wed Jan 29 09:56:07 2020 +0100
Branches: master
https://developer.blender.org/rB787293c71f27de0fba945127f9c4dfd24123e7bc

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.

===================================================================

M	source/blender/editors/space_nla/nla_buttons.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list