Keymap: dope-sheet hotkey to change falloff
This commit is contained in:

committed by
Campbell Barton

parent
fb5597540d
commit
8c957468bc
@@ -53,8 +53,10 @@ struct wmOperatorType;
|
|||||||
struct PointerRNA;
|
struct PointerRNA;
|
||||||
struct PropertyRNA;
|
struct PropertyRNA;
|
||||||
struct EnumPropertyItem;
|
struct EnumPropertyItem;
|
||||||
|
struct wmWindowManager;
|
||||||
|
|
||||||
#include "DNA_object_enums.h"
|
#include "DNA_object_enums.h"
|
||||||
|
#include "BLI_compiler_attrs.h"
|
||||||
|
|
||||||
/* object_edit.c */
|
/* object_edit.c */
|
||||||
struct Object *ED_object_context(struct bContext *C); /* context.object */
|
struct Object *ED_object_context(struct bContext *C); /* context.object */
|
||||||
|
@@ -39,6 +39,7 @@
|
|||||||
#include "ED_anim_api.h"
|
#include "ED_anim_api.h"
|
||||||
#include "ED_markers.h"
|
#include "ED_markers.h"
|
||||||
#include "ED_transform.h"
|
#include "ED_transform.h"
|
||||||
|
#include "ED_object.h"
|
||||||
|
|
||||||
#include "action_intern.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);
|
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");
|
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 */
|
/* special markers hotkeys for anim editors: see note in definition of this function */
|
||||||
ED_marker_keymap_animedit_conflictfree(keymap);
|
ED_marker_keymap_animedit_conflictfree(keymap);
|
||||||
|
Reference in New Issue
Block a user