diff options
Diffstat (limited to 'source/blender/editors/transform')
5 files changed, 5 insertions, 46 deletions
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 ***********************/ |