From 2e5eb4152262adfc382860073dc5e73ced187e35 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Feb 2011 08:31:10 +0000 Subject: pedantic warning cleanup, also remove texspace_edit() since its been added using a different method. --- source/blender/editors/space_api/spacetypes.c | 4 +++- 1 file changed, 3 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 bd19ff5e1b1..ce8970d0434 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -225,6 +225,8 @@ void ED_region_draw_cb_draw(const bContext *C, ARegion *ar, int type) /* ********************* space template *********************** */ +/* forward declare */ +void ED_spacetype_xxx(void); /* allocate and init some vars */ static SpaceLink *xxx_new(const bContext *UNUSED(C)) @@ -266,7 +268,7 @@ static void xxx_keymap(wmKeyConfig *UNUSED(keyconf)) } /* only called once, from screen/spacetypes.c */ -static void ED_spacetype_xxx(void) +void ED_spacetype_xxx(void) { static SpaceType st; -- cgit v1.2.3 From 95100afc1210e7f95a97c85b51ec94719db24b94 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Sun, 27 Feb 2011 20:29:51 +0000 Subject: doxygen: blender/editors tagged. --- source/blender/editors/space_api/space.c | 5 +++++ source/blender/editors/space_api/spacetypes.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'source/blender/editors/space_api') diff --git a/source/blender/editors/space_api/space.c b/source/blender/editors/space_api/space.c index bfe47f6e35a..1ba8f00995c 100644 --- a/source/blender/editors/space_api/space.c +++ b/source/blender/editors/space_api/space.c @@ -26,6 +26,11 @@ * ***** END GPL LICENSE BLOCK ***** */ +/** \file blender/editors/space_api/space.c + * \ingroup spapi + */ + + #include #include diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index ce8970d0434..5fa4205565f 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -22,6 +22,11 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +/** \file blender/editors/space_api/spacetypes.c + * \ingroup spapi + */ + + #include #include "MEM_guardedalloc.h" -- cgit v1.2.3 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 From 3d0390a518947c7cc3ba08c288e6c9b9654df909 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 5 Mar 2011 14:03:29 +0000 Subject: Bugfix #26317 Dopesheet: shift+d duplicate is now a macro too, allowing a single undo. --- source/blender/editors/space_api/spacetypes.c | 1 + 1 file changed, 1 insertion(+) (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 9ae50d04425..8d8cdcc7183 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -128,6 +128,7 @@ void ED_spacetypes_init(void) ED_operatormacros_object(); ED_operatormacros_file(); ED_operatormacros_graph(); + ED_operatormacros_action(); /* register dropboxes (can use macros) */ spacetypes = BKE_spacetypes_list(); -- cgit v1.2.3