Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c4
-rw-r--r--source/blender/editors/transform/transform.h2
-rw-r--r--source/blender/editors/transform/transform_constraints.c8
-rw-r--r--source/blender/editors/transform/transform_convert.c22
-rw-r--r--source/blender/editors/transform/transform_convert_action.c2
-rw-r--r--source/blender/editors/transform/transform_convert_mesh.c2
-rw-r--r--source/blender/editors/transform/transform_convert_nla.c4
-rw-r--r--source/blender/editors/transform/transform_convert_particle.c2
-rw-r--r--source/blender/editors/transform/transform_convert_sculpt.c2
-rw-r--r--source/blender/editors/transform/transform_convert_sequencer.c2
-rw-r--r--source/blender/editors/transform/transform_generics.c30
-rw-r--r--source/blender/editors/transform/transform_gizmo_2d.c4
-rw-r--r--source/blender/editors/transform/transform_gizmo_3d.c28
-rw-r--r--source/blender/editors/transform/transform_gizmo_extrude_3d.c10
-rw-r--r--source/blender/editors/transform/transform_input.c4
-rw-r--r--source/blender/editors/transform/transform_mode_baketime.c2
-rw-r--r--source/blender/editors/transform/transform_mode_bbone_resize.c2
-rw-r--r--source/blender/editors/transform/transform_mode_bend.c2
-rw-r--r--source/blender/editors/transform/transform_mode_boneenvelope.c2
-rw-r--r--source/blender/editors/transform/transform_mode_boneroll.c2
-rw-r--r--source/blender/editors/transform/transform_mode_curveshrinkfatten.c2
-rw-r--r--source/blender/editors/transform/transform_mode_edge_bevelweight.c2
-rw-r--r--source/blender/editors/transform/transform_mode_edge_crease.c2
-rw-r--r--source/blender/editors/transform/transform_mode_edge_rotate_normal.c4
-rw-r--r--source/blender/editors/transform/transform_mode_edge_seq_slide.c2
-rw-r--r--source/blender/editors/transform/transform_mode_edge_slide.c2
-rw-r--r--source/blender/editors/transform/transform_mode_gpopacity.c2
-rw-r--r--source/blender/editors/transform/transform_mode_gpshrinkfatten.c2
-rw-r--r--source/blender/editors/transform/transform_mode_maskshrinkfatten.c2
-rw-r--r--source/blender/editors/transform/transform_mode_push_pull.c2
-rw-r--r--source/blender/editors/transform/transform_mode_resize.c2
-rw-r--r--source/blender/editors/transform/transform_mode_rotate.c2
-rw-r--r--source/blender/editors/transform/transform_mode_shear.c2
-rw-r--r--source/blender/editors/transform/transform_mode_shrink_fatten.c2
-rw-r--r--source/blender/editors/transform/transform_mode_skin_resize.c2
-rw-r--r--source/blender/editors/transform/transform_mode_tilt.c2
-rw-r--r--source/blender/editors/transform/transform_mode_timetranslate.c2
-rw-r--r--source/blender/editors/transform/transform_mode_tosphere.c2
-rw-r--r--source/blender/editors/transform/transform_mode_trackball.c2
-rw-r--r--source/blender/editors/transform/transform_mode_translate.c2
-rw-r--r--source/blender/editors/transform/transform_mode_vert_slide.c2
-rw-r--r--source/blender/editors/transform/transform_ops.c6
-rw-r--r--source/blender/editors/transform/transform_orientations.c8
-rw-r--r--source/blender/editors/transform/transform_snap.c20
-rw-r--r--source/blender/editors/transform/transform_snap_object.c16
45 files changed, 115 insertions, 115 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 260748ce953..0ea355e9b6e 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -32,8 +32,8 @@
#include "BLI_math.h"
#include "BLI_rect.h"
-#include "BKE_editmesh.h"
#include "BKE_context.h"
+#include "BKE_editmesh.h"
#include "BKE_mask.h"
#include "BKE_scene.h"
@@ -43,10 +43,10 @@
#include "ED_gpencil.h"
#include "ED_image.h"
#include "ED_keyframing.h"
+#include "ED_node.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "ED_space_api.h"
-#include "ED_node.h"
#include "WM_api.h"
#include "WM_types.h"
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index 2a4268ad939..a2c8caba0f5 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -24,8 +24,8 @@
#ifndef __TRANSFORM_H__
#define __TRANSFORM_H__
-#include "ED_transform.h"
#include "ED_numinput.h"
+#include "ED_transform.h"
#include "ED_view3d.h"
#include "RE_engine.h"
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 1db2ffa0ed4..4b6932d977d 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -21,10 +21,10 @@
* \ingroup edtransform
*/
-#include <stdlib.h>
+#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
-#include <math.h>
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
@@ -37,9 +37,9 @@
#include "GPU_state.h"
#include "BLI_math.h"
-#include "BLI_utildefines.h"
-#include "BLI_string.h"
#include "BLI_rect.h"
+#include "BLI_string.h"
+#include "BLI_utildefines.h"
#include "BKE_context.h"
diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c
index 0a2e05e6f49..09ee9081baf 100644
--- a/source/blender/editors/transform/transform_convert.c
+++ b/source/blender/editors/transform/transform_convert.c
@@ -23,51 +23,51 @@
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
-#include "DNA_space_types.h"
#include "DNA_constraint_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_mask_types.h"
+#include "DNA_space_types.h"
#include "MEM_guardedalloc.h"
-#include "BLI_math.h"
+#include "BLI_kdtree.h"
#include "BLI_listbase.h"
+#include "BLI_math.h"
#include "BLI_string.h"
-#include "BLI_kdtree.h"
#include "BKE_animsys.h"
#include "BKE_armature.h"
#include "BKE_context.h"
+#include "BKE_editmesh.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_gpencil.h"
-#include "BKE_layer.h"
#include "BKE_key.h"
+#include "BKE_layer.h"
#include "BKE_main.h"
+#include "BKE_mask.h"
#include "BKE_modifier.h"
#include "BKE_nla.h"
#include "BKE_node.h"
#include "BKE_pointcache.h"
#include "BKE_rigidbody.h"
#include "BKE_scene.h"
-#include "BKE_editmesh.h"
#include "BKE_tracking.h"
-#include "BKE_mask.h"
#include "BIK_api.h"
#include "ED_anim_api.h"
#include "ED_armature.h"
-#include "ED_particle.h"
+#include "ED_clip.h"
#include "ED_image.h"
-#include "ED_keyframing.h"
#include "ED_keyframes_edit.h"
-#include "ED_object.h"
+#include "ED_keyframing.h"
#include "ED_markers.h"
+#include "ED_mask.h"
#include "ED_mesh.h"
#include "ED_node.h"
-#include "ED_clip.h"
-#include "ED_mask.h"
+#include "ED_object.h"
+#include "ED_particle.h"
#include "UI_view2d.h"
diff --git a/source/blender/editors/transform/transform_convert_action.c b/source/blender/editors/transform/transform_convert_action.c
index f1bc54f12d1..c9273121df5 100644
--- a/source/blender/editors/transform/transform_convert_action.c
+++ b/source/blender/editors/transform/transform_convert_action.c
@@ -30,8 +30,8 @@
#include "BLI_math.h"
#include "BLI_rect.h"
-#include "BKE_nla.h"
#include "BKE_context.h"
+#include "BKE_nla.h"
#include "BKE_report.h"
#include "ED_anim_api.h"
diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c
index 14f07387046..29a74be8e2b 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -29,9 +29,9 @@
#include "BLI_alloca.h"
#include "BLI_bitmap.h"
+#include "BLI_linklist_stack.h"
#include "BLI_math.h"
#include "BLI_memarena.h"
-#include "BLI_linklist_stack.h"
#include "BKE_context.h"
#include "BKE_crazyspace.h"
diff --git a/source/blender/editors/transform/transform_convert_nla.c b/source/blender/editors/transform/transform_convert_nla.c
index 7c34c583210..580a8d79d7a 100644
--- a/source/blender/editors/transform/transform_convert_nla.c
+++ b/source/blender/editors/transform/transform_convert_nla.c
@@ -26,11 +26,11 @@
#include "MEM_guardedalloc.h"
-#include "BLI_math.h"
#include "BLI_listbase.h"
+#include "BLI_math.h"
-#include "BKE_nla.h"
#include "BKE_context.h"
+#include "BKE_nla.h"
#include "BKE_report.h"
#include "ED_anim_api.h"
diff --git a/source/blender/editors/transform/transform_convert_particle.c b/source/blender/editors/transform/transform_convert_particle.c
index 9054897b7dd..4e1fc6ae1fa 100644
--- a/source/blender/editors/transform/transform_convert_particle.c
+++ b/source/blender/editors/transform/transform_convert_particle.c
@@ -21,8 +21,8 @@
* \ingroup edtransform
*/
-#include "DNA_particle_types.h"
#include "DNA_modifier_types.h"
+#include "DNA_particle_types.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/editors/transform/transform_convert_sculpt.c b/source/blender/editors/transform/transform_convert_sculpt.c
index 600c51dc0d7..55dc36e9693 100644
--- a/source/blender/editors/transform/transform_convert_sculpt.c
+++ b/source/blender/editors/transform/transform_convert_sculpt.c
@@ -26,8 +26,8 @@
#include "BLI_math.h"
#include "BKE_context.h"
-#include "BKE_report.h"
#include "BKE_paint.h"
+#include "BKE_report.h"
#include "transform.h"
#include "transform_convert.h"
diff --git a/source/blender/editors/transform/transform_convert_sequencer.c b/source/blender/editors/transform/transform_convert_sequencer.c
index a35c814ee23..f6dc9b9c412 100644
--- a/source/blender/editors/transform/transform_convert_sequencer.c
+++ b/source/blender/editors/transform/transform_convert_sequencer.c
@@ -28,8 +28,8 @@
#include "BLI_math.h"
#include "BKE_context.h"
-#include "BKE_sequencer.h"
#include "BKE_report.h"
+#include "BKE_sequencer.h"
#include "transform.h"
#include "transform_convert.h"
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index 716df24f195..ca0eb40e7b1 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -21,8 +21,8 @@
* \ingroup edtransform
*/
-#include <string.h>
#include <math.h>
+#include <string.h>
#include "MEM_guardedalloc.h"
@@ -34,20 +34,20 @@
#include "DNA_constraint_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_lattice_types.h"
+#include "DNA_mask_types.h"
+#include "DNA_mesh_types.h"
+#include "DNA_meta_types.h"
+#include "DNA_modifier_types.h"
+#include "DNA_movieclip_types.h"
+#include "DNA_object_types.h"
+#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_sequence_types.h"
#include "DNA_space_types.h"
-#include "DNA_scene_types.h"
-#include "DNA_object_types.h"
-#include "DNA_mesh_types.h"
#include "DNA_view3d_types.h"
-#include "DNA_modifier_types.h"
-#include "DNA_movieclip_types.h"
-#include "DNA_mask_types.h"
-#include "DNA_meta_types.h"
-#include "BLI_math.h"
#include "BLI_blenlib.h"
+#include "BLI_math.h"
#include "BLI_rand.h"
#include "BLI_utildefines.h"
@@ -86,24 +86,24 @@
#include "ED_anim_api.h"
#include "ED_armature.h"
+#include "ED_clip.h"
+#include "ED_curve.h" /* for curve_editnurbs */
+#include "ED_gpencil.h"
#include "ED_image.h"
#include "ED_keyframing.h"
#include "ED_markers.h"
#include "ED_mesh.h"
#include "ED_object.h"
#include "ED_particle.h"
+#include "ED_screen.h"
#include "ED_screen_types.h"
+#include "ED_sculpt.h"
#include "ED_space_api.h"
#include "ED_uvedit.h"
#include "ED_view3d.h"
-#include "ED_curve.h" /* for curve_editnurbs */
-#include "ED_clip.h"
-#include "ED_screen.h"
-#include "ED_gpencil.h"
-#include "ED_sculpt.h"
-#include "WM_types.h"
#include "WM_api.h"
+#include "WM_types.h"
#include "RE_engine.h"
diff --git a/source/blender/editors/transform/transform_gizmo_2d.c b/source/blender/editors/transform/transform_gizmo_2d.c
index 82d51141a8b..dce2625e8a1 100644
--- a/source/blender/editors/transform/transform_gizmo_2d.c
+++ b/source/blender/editors/transform/transform_gizmo_2d.c
@@ -42,15 +42,15 @@
#include "UI_view2d.h"
#include "WM_api.h"
+#include "WM_message.h"
#include "WM_types.h"
#include "wm.h" /* XXX */
-#include "WM_message.h"
+#include "ED_gizmo_library.h"
#include "ED_gizmo_utils.h"
#include "ED_image.h"
#include "ED_screen.h"
#include "ED_uvedit.h"
-#include "ED_gizmo_library.h"
#include "transform.h" /* own include */
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c
index 57f302e2d50..de7b2ec02de 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -22,58 +22,58 @@
* Used for 3D View
*/
+#include <float.h>
+#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include <math.h>
-#include <float.h>
#include "DNA_armature_types.h"
#include "DNA_curve_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_lattice_types.h"
#include "DNA_meta_types.h"
-#include "DNA_screen_types.h"
#include "DNA_scene_types.h"
+#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
#include "BLI_array_utils.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
-#include "BLI_utildefines.h"
#include "BLI_string.h"
+#include "BLI_utildefines.h"
#include "BKE_action.h"
#include "BKE_context.h"
#include "BKE_curve.h"
+#include "BKE_editmesh.h"
#include "BKE_global.h"
+#include "BKE_gpencil.h"
+#include "BKE_lattice.h"
#include "BKE_layer.h"
+#include "BKE_object.h"
+#include "BKE_paint.h"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
-#include "BKE_editmesh.h"
-#include "BKE_lattice.h"
-#include "BKE_gpencil.h"
#include "BKE_scene.h"
#include "BKE_workspace.h"
-#include "BKE_object.h"
-#include "BKE_paint.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
-#include "WM_types.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
+#include "WM_types.h"
#include "wm.h"
#include "ED_armature.h"
#include "ED_curve.h"
+#include "ED_gizmo_library.h"
+#include "ED_gizmo_utils.h"
+#include "ED_gpencil.h"
#include "ED_object.h"
#include "ED_particle.h"
-#include "ED_view3d.h"
-#include "ED_gpencil.h"
#include "ED_screen.h"
-#include "ED_gizmo_library.h"
-#include "ED_gizmo_utils.h"
+#include "ED_view3d.h"
#include "UI_interface.h"
#include "UI_resources.h"
diff --git a/source/blender/editors/transform/transform_gizmo_extrude_3d.c b/source/blender/editors/transform/transform_gizmo_extrude_3d.c
index 8b5db2b57ec..e6e74668c2c 100644
--- a/source/blender/editors/transform/transform_gizmo_extrude_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_extrude_3d.c
@@ -18,10 +18,10 @@
* \ingroup edmesh
*/
-#include "BLI_utildefines.h"
#include "BLI_array_utils.h"
-#include "BLI_math.h"
#include "BLI_listbase.h"
+#include "BLI_math.h"
+#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
@@ -30,15 +30,15 @@
#include "RNA_define.h"
#include "WM_api.h"
-#include "WM_types.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
+#include "WM_types.h"
+#include "ED_gizmo_library.h"
+#include "ED_gizmo_utils.h"
#include "ED_screen.h"
#include "ED_transform.h"
#include "ED_view3d.h"
-#include "ED_gizmo_library.h"
-#include "ED_gizmo_utils.h"
#include "UI_resources.h"
diff --git a/source/blender/editors/transform/transform_input.c b/source/blender/editors/transform/transform_input.c
index fc71457171d..75463dcb7db 100644
--- a/source/blender/editors/transform/transform_input.c
+++ b/source/blender/editors/transform/transform_input.c
@@ -18,8 +18,8 @@
* \ingroup edtransform
*/
-#include <stdlib.h>
#include <math.h>
+#include <stdlib.h>
#include "DNA_screen_types.h"
@@ -28,8 +28,8 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
-#include "WM_types.h"
#include "WM_api.h"
+#include "WM_types.h"
#include "transform.h"
diff --git a/source/blender/editors/transform/transform_mode_baketime.c b/source/blender/editors/transform/transform_mode_baketime.c
index b19fabfbb04..0feaa27d4ce 100644
--- a/source/blender/editors/transform/transform_mode_baketime.c
+++ b/source/blender/editors/transform/transform_mode_baketime.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Bake-Time) */
diff --git a/source/blender/editors/transform/transform_mode_bbone_resize.c b/source/blender/editors/transform/transform_mode_bbone_resize.c
index 93d4bee4a12..1a32a550cb0 100644
--- a/source/blender/editors/transform/transform_mode_bbone_resize.c
+++ b/source/blender/editors/transform/transform_mode_bbone_resize.c
@@ -37,8 +37,8 @@
#include "transform.h"
#include "transform_constraints.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (EditBone (B-bone) width scaling) */
diff --git a/source/blender/editors/transform/transform_mode_bend.c b/source/blender/editors/transform/transform_mode_bend.c
index d4c39ac969b..bf80673fbb4 100644
--- a/source/blender/editors/transform/transform_mode_bend.c
+++ b/source/blender/editors/transform/transform_mode_bend.c
@@ -43,8 +43,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Bend) */
diff --git a/source/blender/editors/transform/transform_mode_boneenvelope.c b/source/blender/editors/transform/transform_mode_boneenvelope.c
index 006cb1b0cc4..0886d4e01ef 100644
--- a/source/blender/editors/transform/transform_mode_boneenvelope.c
+++ b/source/blender/editors/transform/transform_mode_boneenvelope.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Bone Envelope) */
diff --git a/source/blender/editors/transform/transform_mode_boneroll.c b/source/blender/editors/transform/transform_mode_boneroll.c
index 37c7e2bdaf5..8e9d680f269 100644
--- a/source/blender/editors/transform/transform_mode_boneroll.c
+++ b/source/blender/editors/transform/transform_mode_boneroll.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (EditBone Roll) */
diff --git a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c
index 17a2072bbfe..6ccb0e757c3 100644
--- a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c
+++ b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Curve Shrink/Fatten) */
diff --git a/source/blender/editors/transform/transform_mode_edge_bevelweight.c b/source/blender/editors/transform/transform_mode_edge_bevelweight.c
index e75ebbdeca3..15a9e7384b1 100644
--- a/source/blender/editors/transform/transform_mode_edge_bevelweight.c
+++ b/source/blender/editors/transform/transform_mode_edge_bevelweight.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Bevel Weight) */
diff --git a/source/blender/editors/transform/transform_mode_edge_crease.c b/source/blender/editors/transform/transform_mode_edge_crease.c
index e4e8e07f95e..8865721bc7e 100644
--- a/source/blender/editors/transform/transform_mode_edge_crease.c
+++ b/source/blender/editors/transform/transform_mode_edge_crease.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Crease) */
diff --git a/source/blender/editors/transform/transform_mode_edge_rotate_normal.c b/source/blender/editors/transform/transform_mode_edge_rotate_normal.c
index 341c98c30d8..69cd909cff9 100644
--- a/source/blender/editors/transform/transform_mode_edge_rotate_normal.c
+++ b/source/blender/editors/transform/transform_mode_edge_rotate_normal.c
@@ -25,8 +25,8 @@
#include "BLI_math.h"
-#include "BKE_editmesh.h"
#include "BKE_context.h"
+#include "BKE_editmesh.h"
#include "BKE_mesh.h"
#include "BKE_unit.h"
@@ -35,8 +35,8 @@
#include "UI_interface.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Normal Rotation) */
diff --git a/source/blender/editors/transform/transform_mode_edge_seq_slide.c b/source/blender/editors/transform/transform_mode_edge_seq_slide.c
index 0b6b72d9eee..e23e5c188c8 100644
--- a/source/blender/editors/transform/transform_mode_edge_seq_slide.c
+++ b/source/blender/editors/transform/transform_mode_edge_seq_slide.c
@@ -38,8 +38,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Sequencer Slide) */
diff --git a/source/blender/editors/transform/transform_mode_edge_slide.c b/source/blender/editors/transform/transform_mode_edge_slide.c
index a012d89d107..b54e6afc9a1 100644
--- a/source/blender/editors/transform/transform_mode_edge_slide.c
+++ b/source/blender/editors/transform/transform_mode_edge_slide.c
@@ -51,8 +51,8 @@
#include "transform.h"
#include "transform_convert.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Edge Slide) */
diff --git a/source/blender/editors/transform/transform_mode_gpopacity.c b/source/blender/editors/transform/transform_mode_gpopacity.c
index 0d8b5d2a5c9..460e2b41da8 100644
--- a/source/blender/editors/transform/transform_mode_gpopacity.c
+++ b/source/blender/editors/transform/transform_mode_gpopacity.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (GPencil Opacity) */
diff --git a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c
index 84ea3f5f684..edb353b343d 100644
--- a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c
+++ b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (GPencil Shrink/Fatten) */
diff --git a/source/blender/editors/transform/transform_mode_maskshrinkfatten.c b/source/blender/editors/transform/transform_mode_maskshrinkfatten.c
index 9405a66162a..b6719067f5b 100644
--- a/source/blender/editors/transform/transform_mode_maskshrinkfatten.c
+++ b/source/blender/editors/transform/transform_mode_maskshrinkfatten.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Mask Shrink/Fatten) */
diff --git a/source/blender/editors/transform/transform_mode_push_pull.c b/source/blender/editors/transform/transform_mode_push_pull.c
index c3edcdcf65c..890fc820cd5 100644
--- a/source/blender/editors/transform/transform_mode_push_pull.c
+++ b/source/blender/editors/transform/transform_mode_push_pull.c
@@ -37,8 +37,8 @@
#include "transform.h"
#include "transform_constraints.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Push/Pull) */
diff --git a/source/blender/editors/transform/transform_mode_resize.c b/source/blender/editors/transform/transform_mode_resize.c
index 3071c8f351e..59f2ab5c294 100644
--- a/source/blender/editors/transform/transform_mode_resize.c
+++ b/source/blender/editors/transform/transform_mode_resize.c
@@ -35,8 +35,8 @@
#include "transform.h"
#include "transform_constraints.h"
#include "transform_convert.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Resize) */
diff --git a/source/blender/editors/transform/transform_mode_rotate.c b/source/blender/editors/transform/transform_mode_rotate.c
index 8a6024bb8fb..bea039194d0 100644
--- a/source/blender/editors/transform/transform_mode_rotate.c
+++ b/source/blender/editors/transform/transform_mode_rotate.c
@@ -33,8 +33,8 @@
#include "UI_interface.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Rotation) */
diff --git a/source/blender/editors/transform/transform_mode_shear.c b/source/blender/editors/transform/transform_mode_shear.c
index c3313046a11..8b7dc12f41b 100644
--- a/source/blender/editors/transform/transform_mode_shear.c
+++ b/source/blender/editors/transform/transform_mode_shear.c
@@ -40,8 +40,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Shear) */
diff --git a/source/blender/editors/transform/transform_mode_shrink_fatten.c b/source/blender/editors/transform/transform_mode_shrink_fatten.c
index 0679057de26..e24e63f445c 100644
--- a/source/blender/editors/transform/transform_mode_shrink_fatten.c
+++ b/source/blender/editors/transform/transform_mode_shrink_fatten.c
@@ -38,8 +38,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Shrink-Fatten) */
diff --git a/source/blender/editors/transform/transform_mode_skin_resize.c b/source/blender/editors/transform/transform_mode_skin_resize.c
index 0cb774bc4a0..23ba9a07f3e 100644
--- a/source/blender/editors/transform/transform_mode_skin_resize.c
+++ b/source/blender/editors/transform/transform_mode_skin_resize.c
@@ -34,8 +34,8 @@
#include "transform.h"
#include "transform_constraints.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Skin) */
diff --git a/source/blender/editors/transform/transform_mode_tilt.c b/source/blender/editors/transform/transform_mode_tilt.c
index c57c5e83de8..9ae0cfdf805 100644
--- a/source/blender/editors/transform/transform_mode_tilt.c
+++ b/source/blender/editors/transform/transform_mode_tilt.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Tilt) */
diff --git a/source/blender/editors/transform/transform_mode_timetranslate.c b/source/blender/editors/transform/transform_mode_timetranslate.c
index 3ea97d152ef..494609cafb0 100644
--- a/source/blender/editors/transform/transform_mode_timetranslate.c
+++ b/source/blender/editors/transform/transform_mode_timetranslate.c
@@ -40,8 +40,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Animation Translation) */
diff --git a/source/blender/editors/transform/transform_mode_tosphere.c b/source/blender/editors/transform/transform_mode_tosphere.c
index d198cd6eeb2..5a3b138823c 100644
--- a/source/blender/editors/transform/transform_mode_tosphere.c
+++ b/source/blender/editors/transform/transform_mode_tosphere.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (ToSphere) */
diff --git a/source/blender/editors/transform/transform_mode_trackball.c b/source/blender/editors/transform/transform_mode_trackball.c
index d3abf782eb8..758ee3b9cae 100644
--- a/source/blender/editors/transform/transform_mode_trackball.c
+++ b/source/blender/editors/transform/transform_mode_trackball.c
@@ -36,8 +36,8 @@
#include "BLT_translation.h"
#include "transform.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Rotation - Trackball) */
diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c
index 978b36835cd..aef5a999d18 100644
--- a/source/blender/editors/transform/transform_mode_translate.c
+++ b/source/blender/editors/transform/transform_mode_translate.c
@@ -44,8 +44,8 @@
#include "transform.h"
#include "transform_convert.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Translation) */
diff --git a/source/blender/editors/transform/transform_mode_vert_slide.c b/source/blender/editors/transform/transform_mode_vert_slide.c
index 15f999d37ec..2325c4d1d26 100644
--- a/source/blender/editors/transform/transform_mode_vert_slide.c
+++ b/source/blender/editors/transform/transform_mode_vert_slide.c
@@ -48,8 +48,8 @@
#include "transform.h"
#include "transform_convert.h"
-#include "transform_snap.h"
#include "transform_mode.h"
+#include "transform_snap.h"
/* -------------------------------------------------------------------- */
/* Transform (Vert Slide) */
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c
index ee1353a28fa..aaf7fbc3108 100644
--- a/source/blender/editors/transform/transform_ops.c
+++ b/source/blender/editors/transform/transform_ops.c
@@ -30,10 +30,10 @@
#include "BLT_translation.h"
#include "BKE_context.h"
-#include "BKE_global.h"
-#include "BKE_report.h"
#include "BKE_editmesh.h"
+#include "BKE_global.h"
#include "BKE_layer.h"
+#include "BKE_report.h"
#include "BKE_scene.h"
#include "RNA_access.h"
@@ -42,8 +42,8 @@
#include "WM_api.h"
#include "WM_message.h"
-#include "WM_types.h"
#include "WM_toolsystem.h"
+#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index 3f08f795d32..5cc1feddf7a 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -18,9 +18,9 @@
* \ingroup edtransform
*/
-#include <string.h>
-#include <stddef.h>
#include <ctype.h>
+#include <stddef.h>
+#include <string.h>
#include "MEM_guardedalloc.h"
@@ -34,15 +34,15 @@
#include "DNA_view3d_types.h"
#include "DNA_workspace_types.h"
-#include "BLI_math.h"
#include "BLI_listbase.h"
+#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_string_utils.h"
#include "BLI_utildefines.h"
#include "BKE_action.h"
-#include "BKE_curve.h"
#include "BKE_context.h"
+#include "BKE_curve.h"
#include "BKE_editmesh.h"
#include "BKE_layer.h"
#include "BKE_report.h"
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index 0a0a6ffd62f..86e99c986f8 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -21,36 +21,36 @@
* \ingroup edtransform
*/
-#include <stdlib.h>
-#include <math.h>
#include <float.h>
+#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#include "PIL_time.h"
-#include "DNA_scene_types.h"
-#include "DNA_object_types.h"
#include "DNA_meshdata_types.h" /* Temporary, for snapping to other unselected meshes */
#include "DNA_node_types.h"
-#include "DNA_space_types.h"
+#include "DNA_object_types.h"
+#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
+#include "DNA_space_types.h"
#include "DNA_view3d_types.h"
#include "DNA_windowmanager_types.h"
-#include "BLI_math.h"
#include "BLI_blenlib.h"
+#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "GPU_immediate.h"
#include "GPU_state.h"
-#include "BKE_layer.h"
-#include "BKE_object.h"
#include "BKE_anim.h" /* for duplis */
#include "BKE_context.h"
#include "BKE_editmesh.h"
-#include "BKE_sequencer.h"
+#include "BKE_layer.h"
#include "BKE_main.h"
+#include "BKE_object.h"
+#include "BKE_sequencer.h"
#include "RNA_access.h"
@@ -59,9 +59,9 @@
#include "ED_image.h"
#include "ED_markers.h"
#include "ED_node.h"
+#include "ED_transform_snap_object_context.h"
#include "ED_uvedit.h"
#include "ED_view3d.h"
-#include "ED_transform_snap_object_context.h"
#include "DEG_depsgraph.h"
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c
index af2804a9161..f55c73fd15e 100644
--- a/source/blender/editors/transform/transform_snap_object.c
+++ b/source/blender/editors/transform/transform_snap_object.c
@@ -22,11 +22,11 @@
#include "MEM_guardedalloc.h"
-#include "BLI_math.h"
-#include "BLI_kdopbvh.h"
-#include "BLI_memarena.h"
#include "BLI_ghash.h"
+#include "BLI_kdopbvh.h"
#include "BLI_listbase.h"
+#include "BLI_math.h"
+#include "BLI_memarena.h"
#include "BLI_utildefines.h"
#include "DNA_armature_types.h"
@@ -38,23 +38,23 @@
#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
-#include "BKE_bvhutils.h"
+#include "BKE_anim.h" /* for duplis */
#include "BKE_armature.h"
+#include "BKE_bvhutils.h"
#include "BKE_curve.h"
-#include "BKE_object.h"
-#include "BKE_anim.h" /* for duplis */
#include "BKE_editmesh.h"
#include "BKE_layer.h"
#include "BKE_main.h"
-#include "BKE_tracking.h"
#include "BKE_mesh.h"
#include "BKE_mesh_runtime.h"
+#include "BKE_object.h"
+#include "BKE_tracking.h"
#include "DEG_depsgraph_query.h"
+#include "ED_armature.h"
#include "ED_transform_snap_object_context.h"
#include "ED_view3d.h"
-#include "ED_armature.h"
#include "ED_transform.h"