From 7006038b02c797a5e485518b8137ea2738290528 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 4 Mar 2011 16:02:42 +0000 Subject: Bugfix #26317 Shift+D in graph editor was an operator calling internally an operator. Better is to make it a Macro, then Undos and Esc work nicely. Note for API users: the operator "graph.duplicate" will now just copy the selection and not run transform. Nicer too :) --- source/blender/editors/space_api/spacetypes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/space_api') diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 5fa4205565f..9ae50d04425 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -127,7 +127,8 @@ void ED_spacetypes_init(void) ED_operatormacros_node(); ED_operatormacros_object(); ED_operatormacros_file(); - + ED_operatormacros_graph(); + /* register dropboxes (can use macros) */ spacetypes = BKE_spacetypes_list(); for(type=spacetypes->first; type; type=type->next) { -- cgit v1.2.3