diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-07-13 10:05:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 10:05:41 +0300 |
commit | 8c957468bcd5159ddedcecd33a87ce75e0d7637f (patch) | |
tree | 0b2a047873ea736c4834bbf9447f347d33b9f542 /source | |
parent | fb5597540decca4b490089134890d3e575477e95 (diff) |
Keymap: dope-sheet hotkey to change falloff
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 2 | ||||
-rw-r--r-- | source/blender/editors/space_action/action_ops.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index a8536e6f71c..d40c4f8dec9 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -53,8 +53,10 @@ struct wmOperatorType; struct PointerRNA; struct PropertyRNA; struct EnumPropertyItem; +struct wmWindowManager; #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 551db8c4faa..32407286258 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" @@ -261,6 +262,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); |