Keymap: dope-sheet hotkey to change falloff
This commit is contained in:
parent
fb5597540d
commit
8c957468bc
Notes:
blender-bot
2023-02-14 05:34:59 +01:00
Referenced by issue #55950, DopeSheet Missing hotkey (SHFT + O)
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue