diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-07-13 09:55:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 09:59:19 +0300 |
commit | 8f884c22f11226d85c15ffc6f517b6220b6bb574 (patch) | |
tree | 7c37669290cb7679d374b7b348eac6644de95748 /source | |
parent | 8a429b03e130cb77378cabd35b2f4a8f8dd3f1d2 (diff) |
Keymap: dope-sheet hotkey to change falloff
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 1 | ||||
-rw-r--r-- | source/blender/editors/space_action/action_ops.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index 29f7edaebf0..38545137740 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -62,6 +62,7 @@ struct Depsgraph; struct uiLayout; #include "DNA_object_enums.h" +#include "BLI_compiler_attrs.h" /* object_edit.c */ struct Object *ED_object_context(struct bContext *C); /* context.object */ diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c index a4bbfd5cd7f..a4b96e76066 100644 --- a/source/blender/editors/space_action/action_ops.c +++ b/source/blender/editors/space_action/action_ops.c @@ -39,6 +39,7 @@ #include "ED_anim_api.h" #include "ED_markers.h" #include "ED_transform.h" +#include "ED_object.h" #include "action_intern.h" @@ -266,6 +267,7 @@ static void action_keymap_keyframes(wmKeyConfig *keyconf, wmKeyMap *keymap) kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", OKEY, KM_PRESS, 0, 0); RNA_string_set(kmi->ptr, "data_path", "tool_settings.use_proportional_action"); + ED_keymap_proportional_cycle(keyconf, keymap); /* special markers hotkeys for anim editors: see note in definition of this function */ ED_marker_keymap_animedit_conflictfree(keymap); |