Commit: 8c957468bcd5159ddedcecd33a87ce75e0d7637f
Author: Philipp Oeser
Date: Fri Jul 13 09:05:17 2018 +0200
Branches: master
https://developer.blender.org/rB8c957468bcd5159ddedcecd33a87ce75e0d7637f
Keymap: dope-sheet hotkey to change falloff
===================================================================
M source/blender/editors/include/ED_object.h
M source/blender/editors/space_action/action_ops.c
===================================================================
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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs