From 8e92ee86842246c036481bc8a2318ad4c8481b92 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 19 Mar 2005 21:08:13 +0000 Subject: - remove all obsolete inclusions of BLI_winstuff.h (due to recent changes) NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle undefining various crap that windows.h defines. Platform specific headers should only have to be included in a few places. This reduces the number of inclusions of BLI_winstuff.h to 16 which is a much more reasonable number (than the 144 or whatever it used to be) --- source/blender/src/space.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'source/blender/src/space.c') diff --git a/source/blender/src/space.c b/source/blender/src/space.c index cbea4c5fddb..82669022f41 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -40,10 +40,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #ifdef INTERNATIONAL @@ -472,7 +468,7 @@ void start_game(void) space_set_commmandline_options(); SaveState(); - StartKetsjiShell(curarea, startscene->id.name+2, G.main, 1); + //StartKetsjiShell(curarea, startscene->id.name+2, G.main, 1); RestoreState(); /* Restart BPY - unload the game engine modules. */ @@ -1460,6 +1456,12 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) case PKEY: if(G.obedit) { +#ifdef USE_ZREXPMESH + if(G.obedit->type==OB_MESH && G.qual==LR_ALTKEY) { + extern void pymesh_edit_menu(void); + pymesh_edit_menu(); + } else +#endif if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY)) make_parent(); else if((G.qual==0) && G.obedit->type==OB_MESH) -- cgit v1.2.3