diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-03-20 00:08:13 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-03-20 00:08:13 +0300 |
commit | 8e92ee86842246c036481bc8a2318ad4c8481b92 (patch) | |
tree | 5e5097b4a8eb10da9051ef3ab662eb150cbf8c92 /source/blender/src/space.c | |
parent | f74662dcc12cb82fddce7d1c3f7ac122fb1ab7eb (diff) |
- 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)
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 12 |
1 files changed, 7 insertions, 5 deletions
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 <config.h> #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) |