diff options
Diffstat (limited to 'source/blender/editors/transform')
31 files changed, 39 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index 3a8155ce9f7..3035d11d0e3 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -298,6 +298,10 @@ enum { /** \} */ +/* -------------------------------------------------------------------- */ +/** \name Transform Types + * \{ */ + typedef struct TransSnapPoint { struct TransSnapPoint *next, *prev; float co[3]; diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c index cd3d4fb0659..c3d95e1ad98 100644 --- a/source/blender/editors/transform/transform_convert_mesh.c +++ b/source/blender/editors/transform/transform_convert_mesh.c @@ -2092,6 +2092,7 @@ void recalcData_mesh(TransInfo *t) tc_mesh_partial_update(t, tc, &partial_state); } } + /** \} */ /* -------------------------------------------------------------------- */ @@ -2157,4 +2158,5 @@ void special_aftertrans_update__mesh(bContext *UNUSED(C), TransInfo *t) break; } } + /** \} */ diff --git a/source/blender/editors/transform/transform_convert_mesh_skin.c b/source/blender/editors/transform/transform_convert_mesh_skin.c index 69b44998980..7c742f29c86 100644 --- a/source/blender/editors/transform/transform_convert_mesh_skin.c +++ b/source/blender/editors/transform/transform_convert_mesh_skin.c @@ -303,4 +303,5 @@ void recalcData_mesh_skin(TransInfo *t) BKE_editmesh_looptri_and_normals_calc(em); } } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode.c b/source/blender/editors/transform/transform_mode.c index 5ecafdeb44e..d2e7f9f83df 100644 --- a/source/blender/editors/transform/transform_mode.c +++ b/source/blender/editors/transform/transform_mode.c @@ -519,9 +519,12 @@ void constraintSizeLim(const TransInfo *t, TransData *td) } } +/** \} */ + /* -------------------------------------------------------------------- */ /** \name Transform (Rotation Utils) * \{ */ + void headerRotation(TransInfo *t, char *str, const int str_size, float final) { size_t ofs = 0; @@ -820,6 +823,7 @@ void ElementRotation(const TransInfo *t, ElementRotation_ex(t, tc, td, mat, center); } + /** \} */ /* -------------------------------------------------------------------- */ @@ -1266,4 +1270,5 @@ void transform_mode_default_modal_orientation_set(TransInfo *t, int type) transform_orientations_current_set(t, O_DEFAULT); } } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_align.c b/source/blender/editors/transform/transform_mode_align.c index 1a1d84699f4..f27a194dda0 100644 --- a/source/blender/editors/transform/transform_mode_align.c +++ b/source/blender/editors/transform/transform_mode_align.c @@ -89,4 +89,5 @@ void initAlign(TransInfo *t) initMouseInputMode(t, &t->mouse, INPUT_NONE); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_baketime.c b/source/blender/editors/transform/transform_mode_baketime.c index 653944b56a7..46d6e5c5983 100644 --- a/source/blender/editors/transform/transform_mode_baketime.c +++ b/source/blender/editors/transform/transform_mode_baketime.c @@ -132,4 +132,5 @@ void initBakeTime(TransInfo *t) t->num.unit_sys = t->scene->unit.system; t->num.unit_type[0] = B_UNIT_NONE; /* Don't think this uses units? */ } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_bbone_resize.c b/source/blender/editors/transform/transform_mode_bbone_resize.c index 53908564fe5..ce2f3c15651 100644 --- a/source/blender/editors/transform/transform_mode_bbone_resize.c +++ b/source/blender/editors/transform/transform_mode_bbone_resize.c @@ -185,4 +185,5 @@ void initBoneSize(TransInfo *t) t->num.unit_type[1] = B_UNIT_NONE; t->num.unit_type[2] = B_UNIT_NONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_bend.c b/source/blender/editors/transform/transform_mode_bend.c index 6d84c397fa6..a1bcd3aeb50 100644 --- a/source/blender/editors/transform/transform_mode_bend.c +++ b/source/blender/editors/transform/transform_mode_bend.c @@ -393,4 +393,5 @@ void initBend(TransInfo *t) t->custom.mode.data = data; t->custom.mode.use_free = true; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_boneroll.c b/source/blender/editors/transform/transform_mode_boneroll.c index 237a8a0719a..00629b13ede 100644 --- a/source/blender/editors/transform/transform_mode_boneroll.c +++ b/source/blender/editors/transform/transform_mode_boneroll.c @@ -107,4 +107,5 @@ void initBoneRoll(TransInfo *t) t->flag |= T_NO_CONSTRAINT | T_NO_PROJECT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c index f6d0eb49576..c4c33c881ed 100644 --- a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c @@ -115,4 +115,5 @@ void initCurveShrinkFatten(TransInfo *t) t->flag |= T_NO_CONSTRAINT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_edge_bevelweight.c b/source/blender/editors/transform/transform_mode_edge_bevelweight.c index 56613a9d3be..8aa7955bc2a 100644 --- a/source/blender/editors/transform/transform_mode_edge_bevelweight.c +++ b/source/blender/editors/transform/transform_mode_edge_bevelweight.c @@ -174,4 +174,5 @@ void initBevelWeight(TransInfo *t) t->flag |= T_NO_CONSTRAINT | T_NO_PROJECT; } + /** \} */ 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 16263adb223..edba9809207 100644 --- a/source/blender/editors/transform/transform_mode_edge_rotate_normal.c +++ b/source/blender/editors/transform/transform_mode_edge_rotate_normal.c @@ -152,4 +152,5 @@ void initNormalRotation(TransInfo *t) transform_mode_default_modal_orientation_set(t, V3D_ORIENT_VIEW); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_edge_slide.c b/source/blender/editors/transform/transform_mode_edge_slide.c index c7a42b0cd64..7a0f2743a98 100644 --- a/source/blender/editors/transform/transform_mode_edge_slide.c +++ b/source/blender/editors/transform/transform_mode_edge_slide.c @@ -1567,4 +1567,5 @@ void initEdgeSlide(TransInfo *t) { initEdgeSlide_ex(t, true, false, false, true); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_gpopacity.c b/source/blender/editors/transform/transform_mode_gpopacity.c index b5a4b5d285e..5772c6b4717 100644 --- a/source/blender/editors/transform/transform_mode_gpopacity.c +++ b/source/blender/editors/transform/transform_mode_gpopacity.c @@ -125,4 +125,5 @@ void initGPOpacity(TransInfo *t) t->flag |= T_NO_CONSTRAINT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c index 3be7dde56a1..f4a0c3c659c 100644 --- a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c @@ -127,4 +127,5 @@ void initGPShrinkFatten(TransInfo *t) t->flag |= T_NO_CONSTRAINT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_maskshrinkfatten.c b/source/blender/editors/transform/transform_mode_maskshrinkfatten.c index 9788b14e321..a1a8bed59b3 100644 --- a/source/blender/editors/transform/transform_mode_maskshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_maskshrinkfatten.c @@ -141,4 +141,5 @@ void initMaskShrinkFatten(TransInfo *t) t->flag |= T_NO_CONSTRAINT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_mirror.c b/source/blender/editors/transform/transform_mode_mirror.c index 2ae32f3545a..ee584cb9833 100644 --- a/source/blender/editors/transform/transform_mode_mirror.c +++ b/source/blender/editors/transform/transform_mode_mirror.c @@ -238,4 +238,5 @@ void initMirror(TransInfo *t) t->flag |= T_NULL_ONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_push_pull.c b/source/blender/editors/transform/transform_mode_push_pull.c index bf6037572b9..8577a0a5e11 100644 --- a/source/blender/editors/transform/transform_mode_push_pull.c +++ b/source/blender/editors/transform/transform_mode_push_pull.c @@ -199,4 +199,5 @@ void initPushPull(TransInfo *t) t->num.unit_sys = t->scene->unit.system; t->num.unit_type[0] = B_UNIT_LENGTH; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_resize.c b/source/blender/editors/transform/transform_mode_resize.c index 28323460626..3d7f0aa6d67 100644 --- a/source/blender/editors/transform/transform_mode_resize.c +++ b/source/blender/editors/transform/transform_mode_resize.c @@ -267,4 +267,5 @@ void initResize(TransInfo *t, float mouse_dir_constraint[3]) transform_mode_default_modal_orientation_set(t, V3D_ORIENT_GLOBAL); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_rotate.c b/source/blender/editors/transform/transform_mode_rotate.c index bfbdaa389f4..e8ef71a6639 100644 --- a/source/blender/editors/transform/transform_mode_rotate.c +++ b/source/blender/editors/transform/transform_mode_rotate.c @@ -363,4 +363,5 @@ void initRotation(TransInfo *t) transform_mode_default_modal_orientation_set(t, V3D_ORIENT_VIEW); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_shear.c b/source/blender/editors/transform/transform_mode_shear.c index 819a1e321f4..9369cb2e62b 100644 --- a/source/blender/editors/transform/transform_mode_shear.c +++ b/source/blender/editors/transform/transform_mode_shear.c @@ -289,4 +289,5 @@ void initShear(TransInfo *t) transform_mode_default_modal_orientation_set(t, V3D_ORIENT_VIEW); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_shrink_fatten.c b/source/blender/editors/transform/transform_mode_shrink_fatten.c index 032188e7115..01dd1b701a5 100644 --- a/source/blender/editors/transform/transform_mode_shrink_fatten.c +++ b/source/blender/editors/transform/transform_mode_shrink_fatten.c @@ -216,4 +216,5 @@ void initShrinkFatten(TransInfo *t) } } } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_skin_resize.c b/source/blender/editors/transform/transform_mode_skin_resize.c index d4ecaf1a27f..f5e502fed4f 100644 --- a/source/blender/editors/transform/transform_mode_skin_resize.c +++ b/source/blender/editors/transform/transform_mode_skin_resize.c @@ -180,4 +180,5 @@ void initSkinResize(TransInfo *t) t->num.unit_type[1] = B_UNIT_NONE; t->num.unit_type[2] = B_UNIT_NONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_tilt.c b/source/blender/editors/transform/transform_mode_tilt.c index 6b470177a12..6451a7d77d5 100644 --- a/source/blender/editors/transform/transform_mode_tilt.c +++ b/source/blender/editors/transform/transform_mode_tilt.c @@ -111,4 +111,5 @@ void initTilt(TransInfo *t) t->flag |= T_NO_CONSTRAINT | T_NO_PROJECT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_timescale.c b/source/blender/editors/transform/transform_mode_timescale.c index 0a7ae54982e..c198f235cf8 100644 --- a/source/blender/editors/transform/transform_mode_timescale.c +++ b/source/blender/editors/transform/transform_mode_timescale.c @@ -151,4 +151,5 @@ void initTimeScale(TransInfo *t) t->num.unit_sys = t->scene->unit.system; t->num.unit_type[0] = B_UNIT_NONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_timeslide.c b/source/blender/editors/transform/transform_mode_timeslide.c index 5cc53eb08ce..98abab0fd6b 100644 --- a/source/blender/editors/transform/transform_mode_timeslide.c +++ b/source/blender/editors/transform/transform_mode_timeslide.c @@ -232,4 +232,5 @@ void initTimeSlide(TransInfo *t) /* No time unit supporting frames currently... */ t->num.unit_type[0] = B_UNIT_NONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_timetranslate.c b/source/blender/editors/transform/transform_mode_timetranslate.c index 294040946bd..5f2a2e472c5 100644 --- a/source/blender/editors/transform/transform_mode_timetranslate.c +++ b/source/blender/editors/transform/transform_mode_timetranslate.c @@ -157,4 +157,5 @@ void initTimeTranslate(TransInfo *t) /* No time unit supporting frames currently... */ t->num.unit_type[0] = B_UNIT_NONE; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_tosphere.c b/source/blender/editors/transform/transform_mode_tosphere.c index e3feaab5f20..2062f78c326 100644 --- a/source/blender/editors/transform/transform_mode_tosphere.c +++ b/source/blender/editors/transform/transform_mode_tosphere.c @@ -277,4 +277,5 @@ void initToSphere(TransInfo *t) to_sphere_radius_update(t); } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_trackball.c b/source/blender/editors/transform/transform_mode_trackball.c index aa8b0783d0a..ddffc4f8438 100644 --- a/source/blender/editors/transform/transform_mode_trackball.c +++ b/source/blender/editors/transform/transform_mode_trackball.c @@ -218,4 +218,5 @@ void initTrackball(TransInfo *t) t->flag |= T_NO_CONSTRAINT; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c index 233e32c0e48..19d0c6d39a3 100644 --- a/source/blender/editors/transform/transform_mode_translate.c +++ b/source/blender/editors/transform/transform_mode_translate.c @@ -579,4 +579,5 @@ void initTranslation(TransInfo *t) t->custom.mode.data = custom_data; t->custom.mode.use_free = true; } + /** \} */ diff --git a/source/blender/editors/transform/transform_mode_vert_slide.c b/source/blender/editors/transform/transform_mode_vert_slide.c index efc4c73fbee..48a8fcf60eb 100644 --- a/source/blender/editors/transform/transform_mode_vert_slide.c +++ b/source/blender/editors/transform/transform_mode_vert_slide.c @@ -687,4 +687,5 @@ void initVertSlide(TransInfo *t) { initVertSlide_ex(t, false, false, true); } + /** \} */ |