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/blenkernel/intern/blender.c | 4 ---- source/blender/blenkernel/intern/curve.c | 3 --- source/blender/blenkernel/intern/displist.c | 3 --- source/blender/blenkernel/intern/effect.c | 4 ---- source/blender/blenkernel/intern/exotic.c | 1 - source/blender/blenkernel/intern/font.c | 3 --- source/blender/blenkernel/intern/ipo.c | 3 --- source/blender/blenkernel/intern/library.c | 4 ---- source/blender/blenkernel/intern/mesh.c | 4 ---- source/blender/blenkernel/intern/object.c | 3 --- source/blender/blenkernel/intern/property.c | 4 ---- source/blender/blenkernel/intern/scene.c | 1 - source/blender/blenkernel/intern/texture.c | 4 ---- source/blender/blenkernel/intern/writeavi.c | 4 ---- source/blender/blenlib/intern/arithb.c | 4 ---- source/blender/blenlib/intern/matrixops.c | 4 ---- source/blender/blenlib/intern/psfont.c | 5 ----- source/blender/blenloader/intern/readblenentry.c | 4 ---- source/blender/blenloader/intern/undofile.c | 4 ---- source/blender/imbuf/intern/IMB_anim.h | 1 - source/blender/imbuf/intern/anim.c | 1 - source/blender/imbuf/intern/bmp.c | 3 --- source/blender/imbuf/intern/hamx.c | 1 - source/blender/imbuf/intern/png.c | 3 --- source/blender/imbuf/intern/rectop.c | 3 --- source/blender/imbuf/intern/rotate.c | 3 --- source/blender/imbuf/intern/scaling.c | 3 --- source/blender/imbuf/intern/targa.c | 1 - source/blender/python/BPY_interface.c | 4 ---- source/blender/python/api2_2x/BGL.h | 4 ---- source/blender/python/api2_2x/Blender.c | 1 - source/blender/python/api2_2x/Draw.c | 4 ---- source/blender/python/api2_2x/Image.c | 4 ---- source/blender/radiosity/intern/source/raddisplay.c | 4 ---- source/blender/radiosity/intern/source/radpostprocess.c | 4 ---- source/blender/render/intern/source/envmap.c | 4 ---- source/blender/render/intern/source/initrender.c | 4 ---- source/blender/render/intern/source/texture.c | 4 ---- source/blender/src/buttons_logic.c | 1 - source/blender/src/buttons_object.c | 4 ---- source/blender/src/buttons_scene.c | 4 ---- source/blender/src/buttons_script.c | 4 ---- source/blender/src/buttons_shading.c | 4 ---- source/blender/src/cursors.c | 4 ---- source/blender/src/drawaction.c | 4 ---- source/blender/src/drawimage.c | 1 - source/blender/src/drawimasel.c | 1 - source/blender/src/drawipo.c | 1 - source/blender/src/drawmesh.c | 4 ---- source/blender/src/drawnla.c | 1 - source/blender/src/drawobject.c | 3 --- source/blender/src/drawoops.c | 4 ---- source/blender/src/drawscript.c | 1 - source/blender/src/drawseq.c | 4 ---- source/blender/src/drawsound.c | 4 ---- source/blender/src/drawview.c | 1 - source/blender/src/edit.c | 1 - source/blender/src/editaction.c | 4 ---- source/blender/src/editarmature.c | 4 ---- source/blender/src/editcurve.c | 1 - source/blender/src/editface.c | 3 --- source/blender/src/editika.c | 3 --- source/blender/src/editimasel.c | 4 +--- source/blender/src/editipo.c | 1 - source/blender/src/editkey.c | 1 - source/blender/src/editlattice.c | 3 --- source/blender/src/editmball.c | 3 --- source/blender/src/editmesh.c | 3 --- source/blender/src/editmesh_add.c | 3 --- source/blender/src/editmesh_lib.c | 3 --- source/blender/src/editmesh_loop.c | 3 --- source/blender/src/editmesh_mods.c | 3 --- source/blender/src/editmesh_tools.c | 3 --- source/blender/src/editmode_undo.c | 3 --- source/blender/src/editobject.c | 1 - source/blender/src/editoops.c | 1 - source/blender/src/editscreen.c | 4 ---- source/blender/src/editseq.c | 1 - source/blender/src/editsima.c | 1 - source/blender/src/editview.c | 4 ---- source/blender/src/ghostwinlay.c | 4 ---- source/blender/src/glutil.c | 5 +---- source/blender/src/header_action.c | 4 ---- source/blender/src/header_buttonswin.c | 4 ---- source/blender/src/header_filesel.c | 4 ---- source/blender/src/header_image.c | 4 ---- source/blender/src/header_imasel.c | 4 ---- source/blender/src/header_info.c | 4 ---- source/blender/src/header_ipo.c | 4 ---- source/blender/src/header_nla.c | 4 ---- source/blender/src/header_oops.c | 4 ---- source/blender/src/header_script.c | 4 ---- source/blender/src/header_seq.c | 4 ---- source/blender/src/header_sound.c | 4 ---- source/blender/src/header_text.c | 4 ---- source/blender/src/header_view3d.c | 4 ---- source/blender/src/headerbuttons.c | 4 ---- source/blender/src/interface.c | 1 - source/blender/src/interface_draw.c | 1 - source/blender/src/interface_panel.c | 1 - source/blender/src/language.c | 4 ---- source/blender/src/meshtools.c | 4 ---- source/blender/src/mywindow.c | 3 --- source/blender/src/outliner.c | 4 ---- source/blender/src/playanim.c | 1 - source/blender/src/poseobject.c | 4 ---- source/blender/src/previewrender.c | 3 --- source/blender/src/resources.c | 4 ---- source/blender/src/screendump.c | 4 ---- source/blender/src/seqaudio.c | 1 - source/blender/src/sequence.c | 4 ---- source/blender/src/space.c | 12 +++++++----- source/blender/src/spacetypes.c | 4 ---- source/blender/src/swapbuffers.c | 4 ---- source/blender/src/toolbox.c | 1 - source/blender/src/transform.c | 1 - source/blender/src/transform_constraints.c | 1 - source/blender/src/transform_generics.c | 1 - source/blender/src/transform_manipulator.c | 1 - source/blender/src/transform_numinput.c | 1 - source/blender/src/unwrapper.c | 3 --- source/blender/src/view.c | 1 - source/blender/src/vpaint.c | 1 - 123 files changed, 9 insertions(+), 363 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index 9e8ac8ca8ea..3d91636cda5 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -63,10 +63,6 @@ #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_mesh_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index b4bd9a024d4..557e848a0a2 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -43,9 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" #include "BLI_arithb.h" diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 9c24e6361a0..23a9718b2e1 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -41,9 +41,6 @@ #include #include -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/blenkernel/intern/effect.c b/source/blender/blenkernel/intern/effect.c index fcadd35f427..00895de567b 100644 --- a/source/blender/blenkernel/intern/effect.c +++ b/source/blender/blenkernel/intern/effect.c @@ -35,10 +35,6 @@ #include #include -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_listBase.h" #include "DNA_effect_types.h" diff --git a/source/blender/blenkernel/intern/exotic.c b/source/blender/blenkernel/intern/exotic.c index 5b6ee6fed9c..8ef742d816e 100644 --- a/source/blender/blenkernel/intern/exotic.c +++ b/source/blender/blenkernel/intern/exotic.c @@ -84,7 +84,6 @@ #ifndef WIN32 #include #else -#include "BLI_winstuff.h" #include #endif diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index b7902a41703..fc1d45f9696 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -42,9 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_arithb.h" diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 8c10a5c008e..63db6820085 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -39,9 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "DNA_ika_types.h" diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 48355d6cc49..efd0606904e 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" /* all types are needed here, in order to do memory operations */ diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 2703d972323..a9cd8c5f2af 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -38,10 +38,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include #include diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index e11ada6f6c2..9285ed785a9 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -40,9 +40,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "DNA_action_types.h" diff --git a/source/blender/blenkernel/intern/property.c b/source/blender/blenkernel/intern/property.c index 8d38b5e72ca..51cbcf1a628 100644 --- a/source/blender/blenkernel/intern/property.c +++ b/source/blender/blenkernel/intern/property.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_property_types.h" diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index dbca2b6ec4f..7839609efbc 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -42,7 +42,6 @@ #ifndef WIN32 #include #else -#include "BLI_winstuff.h" #include #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index c5f26eeb19c..847e101ea52 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "PIL_dynlib.h" diff --git a/source/blender/blenkernel/intern/writeavi.c b/source/blender/blenkernel/intern/writeavi.c index c6e39fcd8f2..097e6107af2 100644 --- a/source/blender/blenkernel/intern/writeavi.c +++ b/source/blender/blenkernel/intern/writeavi.c @@ -39,10 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c index 38a6cf2df6c..cbc4e63524c 100644 --- a/source/blender/blenlib/intern/arithb.c +++ b/source/blender/blenlib/intern/arithb.c @@ -58,10 +58,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include "BLI_arithb.h" diff --git a/source/blender/blenlib/intern/matrixops.c b/source/blender/blenlib/intern/matrixops.c index 52a66d105db..3c486202cee 100644 --- a/source/blender/blenlib/intern/matrixops.c +++ b/source/blender/blenlib/intern/matrixops.c @@ -46,10 +46,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__) #include #endif diff --git a/source/blender/blenlib/intern/psfont.c b/source/blender/blenlib/intern/psfont.c index 8b0f566ec2a..74e8bef6e8a 100644 --- a/source/blender/blenlib/intern/psfont.c +++ b/source/blender/blenlib/intern/psfont.c @@ -207,11 +207,6 @@ static int started; #define SETCURRENTPOINT (256+33) #define WHAT0 (0) -/* some dirt for windows */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - static char oneline[LINELEN]; static objfnt *fnt; diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c index 5c31217a31f..ee8cba2329d 100644 --- a/source/blender/blenloader/intern/readblenentry.c +++ b/source/blender/blenloader/intern/readblenentry.c @@ -35,10 +35,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include #include diff --git a/source/blender/blenloader/intern/undofile.c b/source/blender/blenloader/intern/undofile.c index f16fb5e7b17..c8c31f4f2ac 100644 --- a/source/blender/blenloader/intern/undofile.c +++ b/source/blender/blenloader/intern/undofile.c @@ -35,10 +35,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include #include diff --git a/source/blender/imbuf/intern/IMB_anim.h b/source/blender/imbuf/intern/IMB_anim.h index 08741824290..8b81ca70608 100644 --- a/source/blender/imbuf/intern/IMB_anim.h +++ b/source/blender/imbuf/intern/IMB_anim.h @@ -62,7 +62,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "BLI_blenlib.h" /* BLI_remlink BLI_filesize BLI_addtail diff --git a/source/blender/imbuf/intern/anim.c b/source/blender/imbuf/intern/anim.c index 99cfad34324..c11a56d2abf 100644 --- a/source/blender/imbuf/intern/anim.c +++ b/source/blender/imbuf/intern/anim.c @@ -59,7 +59,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "BLI_blenlib.h" /* BLI_remlink BLI_filesize BLI_addtail diff --git a/source/blender/imbuf/intern/bmp.c b/source/blender/imbuf/intern/bmp.c index 55e02d521d5..e86507ff103 100644 --- a/source/blender/imbuf/intern/bmp.c +++ b/source/blender/imbuf/intern/bmp.c @@ -30,9 +30,6 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#ifdef _WIN32 -#include "BLI_winstuff.h" -#endif #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/hamx.c b/source/blender/imbuf/intern/hamx.c index c72e313c865..8a5cbda72ec 100644 --- a/source/blender/imbuf/intern/hamx.c +++ b/source/blender/imbuf/intern/hamx.c @@ -35,7 +35,6 @@ #include "BLI_blenlib.h" #ifdef WIN32 -#include "BLI_winstuff.h" #include #endif diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 501d4121ff8..0ebdeeca343 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -33,9 +33,6 @@ #include "png.h" -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c index a694fca862f..22f2698a8c5 100644 --- a/source/blender/imbuf/intern/rectop.c +++ b/source/blender/imbuf/intern/rectop.c @@ -32,9 +32,6 @@ * $Id$ */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/rotate.c b/source/blender/imbuf/intern/rotate.c index edd82347a8c..f8d01789cdc 100644 --- a/source/blender/imbuf/intern/rotate.c +++ b/source/blender/imbuf/intern/rotate.c @@ -32,9 +32,6 @@ * $Id$ */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index eb397f6bced..7749dadb2ca 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -32,9 +32,6 @@ * $Id$ */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "BLI_blenlib.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/targa.c b/source/blender/imbuf/intern/targa.c index 06e75673285..5c064098671 100644 --- a/source/blender/imbuf/intern/targa.c +++ b/source/blender/imbuf/intern/targa.c @@ -31,7 +31,6 @@ */ #ifdef WIN32 -#include "BLI_winstuff.h" #include #endif #include "BLI_blenlib.h" diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c index 739bc13e45d..0034a65b547 100644 --- a/source/blender/python/BPY_interface.c +++ b/source/blender/python/BPY_interface.c @@ -34,10 +34,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include "compile.h" /* for the PyCodeObject */ #include "eval.h" /* for PyEval_EvalCode */ diff --git a/source/blender/python/api2_2x/BGL.h b/source/blender/python/api2_2x/BGL.h index e5eef1de37e..c1c8c824fac 100644 --- a/source/blender/python/api2_2x/BGL.h +++ b/source/blender/python/api2_2x/BGL.h @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c index a38847baab8..342c167530f 100644 --- a/source/blender/python/api2_2x/Blender.c +++ b/source/blender/python/api2_2x/Blender.c @@ -37,7 +37,6 @@ #ifndef WIN32 #include #else -#include "BLI_winstuff.h" #include #endif diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c index 0cde76f39fa..4426c76218e 100644 --- a/source/blender/python/api2_2x/Draw.c +++ b/source/blender/python/api2_2x/Draw.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BLI_blenlib.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c index d2fbc3324a2..b5eb094e328 100644 --- a/source/blender/python/api2_2x/Image.c +++ b/source/blender/python/api2_2x/Image.c @@ -30,10 +30,6 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif /* WIN32 */ - #include /* free_realtime_image */ #include #include diff --git a/source/blender/radiosity/intern/source/raddisplay.c b/source/blender/radiosity/intern/source/raddisplay.c index 358b1f4fee4..6c0fe17d8ad 100644 --- a/source/blender/radiosity/intern/source/raddisplay.c +++ b/source/blender/radiosity/intern/source/raddisplay.c @@ -47,10 +47,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BLI_blenlib.h" #include "DNA_screen_types.h" diff --git a/source/blender/radiosity/intern/source/radpostprocess.c b/source/blender/radiosity/intern/source/radpostprocess.c index 752eafcf890..45805dcc541 100644 --- a/source/blender/radiosity/intern/source/radpostprocess.c +++ b/source/blender/radiosity/intern/source/radpostprocess.c @@ -47,10 +47,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/render/intern/source/envmap.c b/source/blender/render/intern/source/envmap.c index 133775cd402..bf17baeb139 100644 --- a/source/blender/render/intern/source/envmap.c +++ b/source/blender/render/intern/source/envmap.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - /* external modules: */ #include "MEM_guardedalloc.h" #include "BLI_arithb.h" diff --git a/source/blender/render/intern/source/initrender.c b/source/blender/render/intern/source/initrender.c index 8c0a022b036..b8c60ed3e80 100644 --- a/source/blender/render/intern/source/initrender.c +++ b/source/blender/render/intern/source/initrender.c @@ -42,10 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "blendef.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/render/intern/source/texture.c b/source/blender/render/intern/source/texture.c index 06d1930619d..cbce271da7f 100644 --- a/source/blender/render/intern/source/texture.c +++ b/source/blender/render/intern/source/texture.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MTC_matrixops.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c index 58285ffd775..42486b9ce33 100644 --- a/source/blender/src/buttons_logic.c +++ b/source/blender/src/buttons_logic.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 3813001e5e3..802262083df 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -39,10 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index 56ef9aa412d..46e66c93a2b 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -35,10 +35,6 @@ #include #include -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" diff --git a/source/blender/src/buttons_script.c b/source/blender/src/buttons_script.c index 78eba064faa..3088486322f 100644 --- a/source/blender/src/buttons_script.c +++ b/source/blender/src/buttons_script.c @@ -39,10 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_action_types.h" #include "DNA_armature_types.h" diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 397bc4160ad..faa44e2e9f0 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -39,10 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/src/cursors.c b/source/blender/src/cursors.c index 47751348a33..bf258774daa 100644 --- a/source/blender/src/cursors.c +++ b/source/blender/src/cursors.c @@ -36,10 +36,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_listBase.h" #include "DNA_userdef_types.h" diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index b331c3c3bca..b34061b05a1 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -40,10 +40,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c index 1c3a0fec2f7..b10837a9bfd 100644 --- a/source/blender/src/drawimage.c +++ b/source/blender/src/drawimage.c @@ -39,7 +39,6 @@ #ifdef WIN32 #include -#include "BLI_winstuff.h" #else #include #endif diff --git a/source/blender/src/drawimasel.c b/source/blender/src/drawimasel.c index fe0f6e461f1..0058019c491 100644 --- a/source/blender/src/drawimasel.c +++ b/source/blender/src/drawimasel.c @@ -43,7 +43,6 @@ #endif #ifdef _WIN32 -#include "BLI_winstuff.h" #pragma warning (once : 4761) #endif diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c index 77b7f21bdda..c20722ad0cb 100644 --- a/source/blender/src/drawipo.c +++ b/source/blender/src/drawipo.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "BMF_Api.h" diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c index feb1e50d94e..e4773e56613 100644 --- a/source/blender/src/drawmesh.c +++ b/source/blender/src/drawmesh.c @@ -37,10 +37,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index 7c3f21c9cae..f7cd0e94753 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -36,7 +36,6 @@ #ifdef _WIN32 #pragma warning (once : 4761) -#include "BLI_winstuff.h" #endif #include "BMF_Api.h" diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 6acc282b1fd..9703cf28441 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -37,9 +37,6 @@ #include #endif -#ifdef _WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index ea15026bd57..ea90a4c35f1 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -38,10 +38,6 @@ #include #endif -#ifdef _WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/drawscript.c b/source/blender/src/drawscript.c index 5fc48370d75..2c52c20ee95 100644 --- a/source/blender/src/drawscript.c +++ b/source/blender/src/drawscript.c @@ -41,7 +41,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" #include "PIL_time.h" diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c index b2659941397..0afcc1aa1a3 100644 --- a/source/blender/src/drawseq.c +++ b/source/blender/src/drawseq.c @@ -34,10 +34,6 @@ #include #endif -#ifdef _WIN32 -#include "BLI_winstuff.h" -#endif - #include #include diff --git a/source/blender/src/drawsound.c b/source/blender/src/drawsound.c index 69089bc0cb4..dd0bc08244c 100644 --- a/source/blender/src/drawsound.c +++ b/source/blender/src/drawsound.c @@ -37,10 +37,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BLI_blenlib.h" #include "BLI_arithb.h" diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 58f1f65b05f..7f60adc2099 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -44,7 +44,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 4dc044da4a6..747eacbf763 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -40,7 +40,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 6c77ea2e976..f1c4a31eaf6 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -37,10 +37,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "PIL_time.h" diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index c7c10489cc1..7f497a1d872 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -39,10 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c index f82fb9f0787..516486eeb8a 100644 --- a/source/blender/src/editcurve.c +++ b/source/blender/src/editcurve.c @@ -41,7 +41,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index ab17187df38..f2a8dbcf316 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -38,9 +38,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/editika.c b/source/blender/src/editika.c index e7a283a84dc..645d1e805a4 100644 --- a/source/blender/src/editika.c +++ b/source/blender/src/editika.c @@ -42,9 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/src/editimasel.c b/source/blender/src/editimasel.c index 800e5418f48..6fb5d411b98 100644 --- a/source/blender/src/editimasel.c +++ b/source/blender/src/editimasel.c @@ -39,9 +39,7 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#else +#ifndef WIN32 #include #endif diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 574df40c6bb..d218cdac0f7 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -51,7 +51,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" #include "PIL_time.h" diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c index d2cdb1cf8e3..5fd73e2b3c5 100644 --- a/source/blender/src/editkey.c +++ b/source/blender/src/editkey.c @@ -40,7 +40,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c index 1469cf97d11..53e2b88c824 100644 --- a/source/blender/src/editlattice.c +++ b/source/blender/src/editlattice.c @@ -39,9 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/editmball.c b/source/blender/src/editmball.c index 1d9e7082dd4..d4529028f03 100644 --- a/source/blender/src/editmball.c +++ b/source/blender/src/editmball.c @@ -36,9 +36,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index 2101f5f8642..c0c57fa1721 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -39,9 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "PIL_time.h" diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index e7247cf1099..4b550c1e105 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -39,9 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c index 4490a035bec..e2dd9e699f6 100644 --- a/source/blender/src/editmesh_lib.c +++ b/source/blender/src/editmesh_lib.c @@ -44,9 +44,6 @@ editmesh_lib: generic (no UI, no menus) operations/evaluators for editmesh data #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c index 48a92f7d7ed..36ed4e0dddc 100644 --- a/source/blender/src/editmesh_loop.c +++ b/source/blender/src/editmesh_loop.c @@ -40,9 +40,6 @@ editmesh_loop: tools with own drawing subloops, select, knife, subdiv #include #include -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c index 7ac3fc7a03e..52a87aadd16 100644 --- a/source/blender/src/editmesh_mods.c +++ b/source/blender/src/editmesh_mods.c @@ -44,9 +44,6 @@ editmesh_mods.c, UI level access, no geometry changes #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "MTC_matrixops.h" diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index 9c88d914254..5d8d405661c 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -44,9 +44,6 @@ editmesh_tool.c: UI called tools for editmesh, geometry changes here, otherwise #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editmode_undo.c b/source/blender/src/editmode_undo.c index 615cce62511..e2c23688736 100644 --- a/source/blender/src/editmode_undo.c +++ b/source/blender/src/editmode_undo.c @@ -39,9 +39,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "DNA_mesh_types.h" diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 4719402e06d..2d95ea7d6ae 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -47,7 +47,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" #include "PIL_time.h" diff --git a/source/blender/src/editoops.c b/source/blender/src/editoops.c index 584d6a7b2d0..736e2427543 100644 --- a/source/blender/src/editoops.c +++ b/source/blender/src/editoops.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index 572e4114c5e..1624ae77b00 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -36,10 +36,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "nla.h" #include diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c index 7de296bd7b6..a1e86248881 100644 --- a/source/blender/src/editseq.c +++ b/source/blender/src/editseq.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index 971e0395aa7..25c1d82fb7f 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c index c717c695d52..3fa2540ce01 100644 --- a/source/blender/src/editview.c +++ b/source/blender/src/editview.c @@ -40,10 +40,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "IMB_imbuf.h" #include "PIL_time.h" diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index 5effb1fc461..154be0bb4dd 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -36,10 +36,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_listBase.h" diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c index a3b8b888881..c1175806947 100644 --- a/source/blender/src/glutil.c +++ b/source/blender/src/glutil.c @@ -38,16 +38,13 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_vec_types.h" #include "BKE_utildefines.h" +#include "BLI_arithb.h" #include "BIF_gl.h" #include "BIF_glutil.h" diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 4dbe00ad0d8..b0e2f2a70d6 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_action_types.h" #include "DNA_ipo_types.h" diff --git a/source/blender/src/header_buttonswin.c b/source/blender/src/header_buttonswin.c index 0186683df31..4c12dc5b63b 100644 --- a/source/blender/src/header_buttonswin.c +++ b/source/blender/src/header_buttonswin.c @@ -42,10 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_armature_types.h" #include "DNA_lamp_types.h" diff --git a/source/blender/src/header_filesel.c b/source/blender/src/header_filesel.c index 5177770d5c2..2c068aae627 100644 --- a/source/blender/src/header_filesel.c +++ b/source/blender/src/header_filesel.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/src/header_image.c b/source/blender/src/header_image.c index ae05ec4c263..346a59bad00 100644 --- a/source/blender/src/header_image.c +++ b/source/blender/src/header_image.c @@ -42,10 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_image_types.h" #include "DNA_mesh_types.h" diff --git a/source/blender/src/header_imasel.c b/source/blender/src/header_imasel.c index 0f8750426ba..de845fdfaf7 100644 --- a/source/blender/src/header_imasel.c +++ b/source/blender/src/header_imasel.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index 027cdee8c8e..3afbf59e750 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_image_types.h" #include "DNA_lamp_types.h" diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index 0e5210e668c..8f6b558fdb1 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_curve_types.h" #include "DNA_key_types.h" diff --git a/source/blender/src/header_nla.c b/source/blender/src/header_nla.c index 5747ac77fc7..c4287ad3ef7 100644 --- a/source/blender/src/header_nla.c +++ b/source/blender/src/header_nla.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_ID.h" #include "DNA_nla_types.h" #include "DNA_scene_types.h" diff --git a/source/blender/src/header_oops.c b/source/blender/src/header_oops.c index 24dcd19b97d..3460ac7a05e 100644 --- a/source/blender/src/header_oops.c +++ b/source/blender/src/header_oops.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c index 56e76cc9d58..fc6a0b45545 100644 --- a/source/blender/src/header_script.c +++ b/source/blender/src/header_script.c @@ -41,10 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BLI_blenlib.h" #include "BSE_headerbuttons.h" diff --git a/source/blender/src/header_seq.c b/source/blender/src/header_seq.c index c29ebbaaa43..2f506eb2683 100644 --- a/source/blender/src/header_seq.c +++ b/source/blender/src/header_seq.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/header_sound.c b/source/blender/src/header_sound.c index 3446830a586..53cf5589f74 100644 --- a/source/blender/src/header_sound.c +++ b/source/blender/src/header_sound.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/header_text.c b/source/blender/src/header_text.c index 36900d34e60..3dec21b90ab 100644 --- a/source/blender/src/header_text.c +++ b/source/blender/src/header_text.c @@ -43,10 +43,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 9a39b95254f..664ee10bbc2 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -42,10 +42,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BMF_Api.h" #include "BIF_language.h" #ifdef INTERNATIONAL diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index 459b3bdd8e2..445fa6db8e1 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -40,10 +40,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BMF_Api.h" diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 6c650489016..c4e06851776 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -49,7 +49,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index f3afdb6e44f..1b8f6e8764c 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -49,7 +49,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c index 78bffb222b7..56fef64debd 100644 --- a/source/blender/src/interface_panel.c +++ b/source/blender/src/interface_panel.c @@ -49,7 +49,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/language.c b/source/blender/src/language.c index 8e059da799b..4c71bf93615 100644 --- a/source/blender/src/language.c +++ b/source/blender/src/language.c @@ -28,10 +28,6 @@ */ -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include diff --git a/source/blender/src/meshtools.c b/source/blender/src/meshtools.c index 4a09bc535ff..cf5bbb7d2bb 100644 --- a/source/blender/src/meshtools.c +++ b/source/blender/src/meshtools.c @@ -52,12 +52,8 @@ void sort_faces(void); #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" - #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" diff --git a/source/blender/src/mywindow.c b/source/blender/src/mywindow.c index 2da9dff1375..d57d4dde6ba 100644 --- a/source/blender/src/mywindow.c +++ b/source/blender/src/mywindow.c @@ -41,9 +41,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 1f460efc8ea..13d8ad21217 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -35,10 +35,6 @@ #include "MEM_guardedalloc.h" -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_action_types.h" #include "DNA_armature_types.h" #include "DNA_constraint_types.h" diff --git a/source/blender/src/playanim.c b/source/blender/src/playanim.c index b685d464cc8..c9b125f10cc 100644 --- a/source/blender/src/playanim.c +++ b/source/blender/src/playanim.c @@ -45,7 +45,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c index fffe435968e..c5cf36f70fe 100644 --- a/source/blender/src/poseobject.c +++ b/source/blender/src/poseobject.c @@ -35,10 +35,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include #include "BLI_arithb.h" diff --git a/source/blender/src/previewrender.c b/source/blender/src/previewrender.c index 6418dce5230..87d79a46cc0 100644 --- a/source/blender/src/previewrender.c +++ b/source/blender/src/previewrender.c @@ -50,9 +50,6 @@ #endif #include "MEM_guardedalloc.h" #include "BLI_arithb.h" -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "BKE_utildefines.h" #include "MTC_matrixops.h" diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c index 66e42832db5..9e7e88a96e9 100644 --- a/source/blender/src/resources.c +++ b/source/blender/src/resources.c @@ -38,10 +38,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "DNA_listBase.h" diff --git a/source/blender/src/screendump.c b/source/blender/src/screendump.c index 7e54791dbd2..4568eb7f4c5 100644 --- a/source/blender/src/screendump.c +++ b/source/blender/src/screendump.c @@ -37,10 +37,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" diff --git a/source/blender/src/seqaudio.c b/source/blender/src/seqaudio.c index 6e645a8867f..794f00ebd7f 100644 --- a/source/blender/src/seqaudio.c +++ b/source/blender/src/seqaudio.c @@ -36,7 +36,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 068d559916b..42cafcf6d77 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -38,10 +38,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "MEM_guardedalloc.h" #include "PIL_dynlib.h" 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) diff --git a/source/blender/src/spacetypes.c b/source/blender/src/spacetypes.c index 6c7b083f25f..275c46d4e18 100644 --- a/source/blender/src/spacetypes.c +++ b/source/blender/src/spacetypes.c @@ -36,10 +36,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "BLI_blenlib.h" #include "DNA_screen_types.h" diff --git a/source/blender/src/swapbuffers.c b/source/blender/src/swapbuffers.c index 1a696747290..8e106f52fa2 100644 --- a/source/blender/src/swapbuffers.c +++ b/source/blender/src/swapbuffers.c @@ -46,10 +46,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif - #include "DNA_space_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index f9af3e80973..fe0f1fbcba5 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -46,7 +46,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 72a975d5a0b..4962ceea803 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/transform_constraints.c b/source/blender/src/transform_constraints.c index d3c5f12260a..457ac1d9d63 100755 --- a/source/blender/src/transform_constraints.c +++ b/source/blender/src/transform_constraints.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c index 2168728b98e..c3ccdf12315 100755 --- a/source/blender/src/transform_generics.c +++ b/source/blender/src/transform_generics.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/transform_manipulator.c b/source/blender/src/transform_manipulator.c index 339d365732e..040c352654c 100644 --- a/source/blender/src/transform_manipulator.c +++ b/source/blender/src/transform_manipulator.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/transform_numinput.c b/source/blender/src/transform_numinput.c index dcf582b41e7..e051f60e8f0 100755 --- a/source/blender/src/transform_numinput.c +++ b/source/blender/src/transform_numinput.c @@ -42,7 +42,6 @@ #include #else #include -#include "BLI_winstuff.h" #endif #include "MEM_guardedalloc.h" diff --git a/source/blender/src/unwrapper.c b/source/blender/src/unwrapper.c index d35bf024edc..0c17647d60a 100644 --- a/source/blender/src/unwrapper.c +++ b/source/blender/src/unwrapper.c @@ -38,9 +38,6 @@ #include #endif -#ifdef WIN32 -#include "BLI_winstuff.h" -#endif #include "MEM_guardedalloc.h" #include "DNA_mesh_types.h" diff --git a/source/blender/src/view.c b/source/blender/src/view.c index ae068363a15..c67f6681da6 100644 --- a/source/blender/src/view.c +++ b/source/blender/src/view.c @@ -41,7 +41,6 @@ #ifdef WIN32 #include -#include "BLI_winstuff.h" #else #include #endif diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index c7faa53c200..99a2d3dcc23 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -39,7 +39,6 @@ #ifdef WIN32 #include -#include "BLI_winstuff.h" #else #include #endif -- cgit v1.2.3