Commit: 8f884c22f11226d85c15ffc6f517b6220b6bb574 Author: Philipp Oeser Date: Fri Jul 13 08:55:07 2018 +0200 Branches: blender2.8 https://developer.blender.org/rB8f884c22f11226d85c15ffc6f517b6220b6bb574
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 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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs