diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-14 05:36:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-14 05:36:48 +0300 |
commit | 8b1dcd3b253a0dd4d7006c0ff2a0c5139ab4fb4c (patch) | |
tree | 6613d9f8d7eb4ff4b83143667f69bfbdc6e16577 | |
parent | 87aca8bd02bca78e4446de73653ada566780823e (diff) |
Cleanup: doxy sections
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 21 |
1 files changed, 12 insertions, 9 deletions
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 @@ -187,14 +187,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 |