Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-03-04 19:02:42 +0300
committerTon Roosendaal <ton@blender.org>2011-03-04 19:02:42 +0300
commit7006038b02c797a5e485518b8137ea2738290528 (patch)
tree3c06460706d2ea546d0c13233adbb7c29d43e8f5 /source/blender/editors/space_api
parent9834aea0318089f5cbf526c3b7997b795dcdd920 (diff)
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 :)
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r--source/blender/editors/space_api/spacetypes.c3
1 files changed, 2 insertions, 1 deletions
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) {