From 8b1dcd3b253a0dd4d7006c0ff2a0c5139ab4fb4c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 14 Mar 2019 13:36:48 +1100 Subject: Cleanup: doxy sections --- source/blender/editors/uvedit/uvedit_ops.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index ae532a8e5c7..4c5d626fa8f 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -186,14 +186,6 @@ void ED_object_assign_active_image(Main *bmain, Object *ob, int mat_nr, Image *i /** \} */ -/* -------------------------------------------------------------------- */ -/** \name Assign Image - * \{ */ - -//#define USE_SWITCH_ASPECT - -/** \} */ - /* -------------------------------------------------------------------- */ /** \name Space Conversion * \{ */ @@ -2135,7 +2127,6 @@ static void UV_OT_weld(wmOperatorType *ot) /** \name (De)Select All Operator * \{ */ - static bool uv_select_is_any_selected(Scene *scene, Image *ima, Object *obedit) { ToolSettings *ts = scene->toolsettings; @@ -2791,6 +2782,12 @@ static void UV_OT_select_linked(wmOperatorType *ot) RNA_def_boolean(ot->srna, "deselect", 0, "Deselect", "Deselect linked UV vertices rather than selecting them"); } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Select Linked (Cursor Pick) Operator + * \{ */ + static int uv_select_linked_pick_invoke(bContext *C, wmOperator *op, const wmEvent *event) { return uv_select_linked_internal(C, op, event, 1); @@ -2822,6 +2819,12 @@ static void UV_OT_select_linked_pick(wmOperatorType *ot) "Location", "Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds", -100.0f, 100.0f); } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Select Split Operator + * \{ */ + /* note: this is based on similar use case to MESH_OT_split(), which has a similar effect * but in this case they are not joined to begin with (only having the behavior of being joined) * so its best to call this uv_select_split() instead of just split(), but assigned to the same key -- cgit v1.2.3