Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2020-01-29 11:56:07 +0300
committerWilliam Reynish <billrey@me.com>2020-01-29 11:56:07 +0300
commit787293c71f27de0fba945127f9c4dfd24123e7bc (patch)
tree7dee078a590c16b1925c4ad50e08ea882f69df06 /source/blender/editors/space_nla/nla_buttons.c
parenta554ff969332b99fdcbc53ec940f08df10639430 (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/nla_buttons.c')
-rw-r--r--source/blender/editors/space_nla/nla_buttons.c2
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);