diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-19 03:07:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-19 03:07:07 +0400 |
commit | 250cdd5e52dcb46c681fa5fe7935c670d5969977 (patch) | |
tree | d990e28f98e62166a32c96e917cb4e9d152f7ad7 /source/blender/editors | |
parent | d0e892a7286791a4b2d1c5d7321fe8fe040819dd (diff) |
code cleanup: remove commented includes - mostly from 2.4x
Diffstat (limited to 'source/blender/editors')
8 files changed, 8 insertions, 74 deletions
diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 91c342ec070..caadee5f941 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -25,7 +25,6 @@ * \ingroup edarmature */ - #include <ctype.h> #include <stdlib.h> #include <string.h> @@ -49,8 +48,6 @@ #include "BLI_rand.h" #include "BLI_threads.h" -//#include "BDR_editobject.h" - #include "BKE_constraint.h" #include "BKE_armature.h" #include "BKE_context.h" @@ -60,10 +57,7 @@ #include "BIF_retarget.h" - -//#include "mydevice.h" -#include "reeb.h" // FIX ME -//#include "blendef.h" +#include "reeb.h" /* FIX ME */ #include "armature_intern.h" diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c index 06ecf76ba3e..78d3d8dc64d 100644 --- a/source/blender/editors/armature/editarmature_sketch.c +++ b/source/blender/editors/armature/editarmature_sketch.c @@ -22,7 +22,6 @@ * \ingroup edarmature */ - #include <string.h> #include <math.h> #include <float.h> @@ -49,27 +48,18 @@ #include "ED_screen.h" #include "BIF_gl.h" -//#include "BIF_screen.h" -//#include "BIF_space.h" -//#include "BIF_mywindow.h" #include "ED_armature.h" #include "armature_intern.h" -//#include "BIF_sketch.h" #include "BIF_retarget.h" #include "BIF_generate.h" -//#include "BIF_interface.h" #include "ED_transform.h" #include "WM_api.h" #include "WM_types.h" -//#include "blendef.h" -//#include "mydevice.h" #include "reeb.h" - - typedef int (*GestureDetectFct)(bContext *, SK_Gesture *, SK_Sketch *); typedef void (*GestureApplyFct)(bContext *, SK_Gesture *, SK_Sketch *); diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c index af252ffe60c..ce4e1db23b5 100644 --- a/source/blender/editors/armature/reeb.c +++ b/source/blender/editors/armature/reeb.c @@ -24,11 +24,10 @@ * \ingroup edarmature */ - #include <math.h> -#include <string.h> // for memcpy +#include <string.h> /* for memcpy */ #include <stdio.h> -#include <stdlib.h> // for qsort +#include <stdlib.h> /* for qsort */ #include <float.h> #include "DNA_scene_types.h" @@ -45,16 +44,8 @@ #include "BLI_ghash.h" #include "BLI_heap.h" -//#include "BDR_editobject.h" - -//#include "BIF_interface.h" -//#include "BIF_toolbox.h" -//#include "BIF_graphics.h" - #include "BKE_mesh.h" -//#include "blendef.h" - #include "ONL_opennl.h" #include "reeb.h" diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 5232371fcaf..7bcf6ba58f1 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -29,7 +29,6 @@ * \ingroup edtransform */ - #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -37,9 +36,9 @@ #include <float.h> #ifndef WIN32 -#include <unistd.h> +# include <unistd.h> #else -#include <io.h> +# include <io.h> #endif #include "MEM_guardedalloc.h" @@ -90,10 +89,6 @@ #include "UI_resources.h" -//#include "blendef.h" -// -//#include "mydevice.h" - #include "transform.h" #include <stdio.h> diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 034ea3eb704..7c0d4f10186 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -53,7 +53,6 @@ #include "BKE_context.h" - #include "ED_image.h" #include "ED_view3d.h" @@ -61,13 +60,8 @@ #include "BLI_utildefines.h" #include "BLI_string.h" -//#include "blendef.h" -// -//#include "mydevice.h" - #include "UI_resources.h" - #include "transform.h" static void drawObjectConstraint(TransInfo *t); diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index 9f335b4afe7..dba597d316d 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -29,13 +29,12 @@ * \ingroup edtransform */ - #include <string.h> #include <math.h> #include "MEM_guardedalloc.h" -#include "BLO_sys_types.h" // for intptr_t support +#include "BLO_sys_types.h" /* for intptr_t support */ #include "DNA_anim_types.h" #include "DNA_armature_types.h" @@ -58,14 +57,8 @@ #include "RNA_access.h" -//#include "BIF_screen.h" -//#include "BIF_mywindow.h" #include "BIF_gl.h" #include "BIF_glutil.h" -//#include "BIF_editmesh.h" -//#include "BIF_editsima.h" -//#include "BIF_editparticle.h" -//#include "BIF_meshtools.h" #include "BKE_animsys.h" #include "BKE_action.h" @@ -96,17 +89,11 @@ #include "ED_clip.h" #include "ED_screen.h" -//#include "BDR_unwrapper.h" - #include "WM_types.h" #include "WM_api.h" #include "UI_resources.h" -//#include "blendef.h" -// -//#include "mydevice.h" - #include "transform.h" /* ************************** Functions *************************** */ diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 97fc173f9a1..b9583fc21e1 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -50,11 +50,6 @@ #include "BLF_translation.h" -//#include "BIF_editmesh.h" -//#include "BIF_interface.h" -//#include "BIF_space.h" -//#include "BIF_toolbox.h" - #include "ED_armature.h" #include "ED_mesh.h" diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c index 3847087111e..1286a520bb9 100644 --- a/source/blender/editors/transform/transform_snap.c +++ b/source/blender/editors/transform/transform_snap.c @@ -29,7 +29,6 @@ * \ingroup edtransform */ - #include <stdlib.h> #include <math.h> #include <float.h> @@ -41,7 +40,7 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" #include "DNA_mesh_types.h" -#include "DNA_meshdata_types.h" // Temporary, for snapping to other unselected meshes +#include "DNA_meshdata_types.h" /* Temporary, for snapping to other unselected meshes */ #include "DNA_node_types.h" #include "DNA_space_types.h" #include "DNA_screen_types.h" @@ -54,20 +53,11 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -//#include "BDR_drawobject.h" -// -//#include "editmesh.h" -//#include "BIF_editsima.h" #include "BIF_gl.h" -//#include "BIF_mywindow.h" -//#include "BIF_screen.h" -//#include "BIF_editsima.h" -//#include "BIF_drawimage.h" -//#include "BIF_editmesh.h" #include "BKE_DerivedMesh.h" #include "BKE_object.h" -#include "BKE_anim.h" /* for duplis */ +#include "BKE_anim.h" /* for duplis */ #include "BKE_context.h" #include "BKE_tessmesh.h" #include "BKE_mesh.h" @@ -88,8 +78,6 @@ #include "transform.h" -//#include "blendef.h" /* for selection modes */ - #define USE_BVH_FACE_SNAP /********************* PROTOTYPES ***********************/ |