From 7f3a34d16c9eeda100a6b84d8374d848074702a2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 12 Dec 2008 10:18:26 +0000 Subject: 2.5 Resolved cyclic calls for editors. Now there's a space_api/ module, here you can use functions calling other editor modules. The functions in the module are only used by the WindowManager module to initialize space types. Note for sconzers and MSVC and cmake: the proper linking order for editors is: - space_api - space_xxx - object / mesh / transform / etc - interface - util / datafiles - screen --- source/blender/editors/space_time/time_header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_time') diff --git a/source/blender/editors/space_time/time_header.c b/source/blender/editors/space_time/time_header.c index fc3bb73e021..308e49377ad 100644 --- a/source/blender/editors/space_time/time_header.c +++ b/source/blender/editors/space_time/time_header.c @@ -386,7 +386,7 @@ void do_time_buttons(bContext *C, void *arg, int event) switch(event) { case B_NEWSPACE: - //ED_newspace(C->area, C->area->butspacetype); // XXX for ton (breaks compiling, so disabled for now) - Aligorith + ED_newspace(C->area, C->area->butspacetype); WM_event_add_notifier(C, WM_NOTE_SCREEN_CHANGED, 0, NULL); break; case B_REDRAWALL: -- cgit v1.2.3