Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | UvNearestHit |
Macros | |
#define | UV_NEAREST_HIT_INIT_DIST_PX(v2d, dist_px) |
#define | UV_NEAREST_HIT_INIT_MAX(v2d) |
Typedefs | |
typedef struct UvNearestHit | UvNearestHit |
#define UV_NEAREST_HIT_INIT_DIST_PX | ( | v2d, | |
dist_px | |||
) |
Definition at line 40 of file uvedit_intern.h.
#define UV_NEAREST_HIT_INIT_MAX | ( | v2d | ) |
Definition at line 49 of file uvedit_intern.h.
typedef struct UvNearestHit UvNearestHit |
bool uv_find_nearest_edge | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
const float | co[2], | ||
float | penalty, | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 831 of file uvedit_select.c.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_FACES_OF_MESH, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_mesh_elem_index_ensure(), BM_VERT, CD_MLOOPUV, closest_to_line_segment_v2(), CustomData_get_offset(), UvNearestHit::dist_sq, UvNearestHit::efa, l, UvNearestHit::l, BMesh::ldata, len_squared_v2(), mul_v2_v2(), BMLoop::next, UvNearestHit::ob, UvNearestHit::scale, scene, sqrtf, square_f(), sub_v2_v2(), MLoopUV::uv, uvedit_edge_select_test(), and uvedit_face_visible_test().
Referenced by uv_find_nearest_edge_multi(), and uv_shortest_path_pick_invoke().
bool uv_find_nearest_edge_multi | ( | struct Scene * | scene, |
struct Object ** | objects, | ||
uint | objects_len, | ||
const float | co[2], | ||
float | penalty, | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 882 of file uvedit_select.c.
References scene, and uv_find_nearest_edge().
Referenced by stitch_select(), uv_mouse_select_loop_generic_multi(), uv_mouse_select_multi(), and uv_select_linked_internal().
bool uv_find_nearest_face | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
const float | co[2], | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 942 of file uvedit_select.c.
References scene, and uv_find_nearest_face_ex().
Referenced by uv_shortest_path_pick_invoke().
bool uv_find_nearest_face_ex | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
const float | co[2], | ||
struct UvNearestHit * | hit, | ||
bool | only_in_face | ||
) |
only_in_face | when true, only hit faces which co is inside. This gives users a result they might expect, especially when zoomed in. |
Definition at line 899 of file uvedit_select.c.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_face_uv_calc_center_median(), BM_face_uv_point_inside_test(), BM_FACES_OF_MESH, BM_ITER_MESH, CD_MLOOPUV, CustomData_get_offset(), UvNearestHit::dist_sq, UvNearestHit::efa, BMesh::ldata, len_squared_v2(), mul_v2_v2(), UvNearestHit::ob, UvNearestHit::scale, scene, sub_v2_v2v2(), and uvedit_face_visible_test().
Referenced by uv_find_nearest_face(), and uv_find_nearest_face_multi_ex().
bool uv_find_nearest_face_multi | ( | struct Scene * | scene, |
struct Object ** | objects, | ||
uint | objects_len, | ||
const float | co[2], | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 964 of file uvedit_select.c.
References scene, and uv_find_nearest_face_multi_ex().
Referenced by uv_mouse_select_multi().
bool uv_find_nearest_face_multi_ex | ( | struct Scene * | scene, |
struct Object ** | objects, | ||
uint | objects_len, | ||
const float | co[2], | ||
struct UvNearestHit * | hit, | ||
bool | only_in_face | ||
) |
Definition at line 947 of file uvedit_select.c.
References scene, and uv_find_nearest_face_ex().
Referenced by uv_find_nearest_face_multi(), and uv_mouse_select_multi().
BMLoop* uv_find_nearest_loop_from_edge | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
struct BMEdge * | e, | ||
const float | co[2] | ||
) |
Definition at line 1164 of file uvedit_select.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_ITER_ELEM, BM_LOOPS_OF_EDGE, CD_MLOOPUV, CustomData_get_offset(), dist_squared_to_line_segment_v2(), e, BMLoop::f, l, BMesh::ldata, BMLoop::next, NULL, scene, MLoopUV::uv, and uvedit_face_visible_test().
Referenced by uv_shortest_path_pick_invoke().
BMLoop* uv_find_nearest_loop_from_vert | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
struct BMVert * | v, | ||
const float | co[2] | ||
) |
Definition at line 1136 of file uvedit_select.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_ITER_ELEM, BM_LOOPS_OF_VERT, CD_MLOOPUV, CustomData_get_offset(), BMLoop::f, l, BMesh::ldata, len_squared_v2v2(), NULL, scene, MLoopUV::uv, uvedit_face_visible_test(), and v.
Referenced by uv_shortest_path_pick_invoke().
bool uv_find_nearest_vert | ( | struct Scene * | scene, |
struct Object * | obedit, | ||
const float | co[2], | ||
float | penalty_dist, | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 980 of file uvedit_select.c.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_FACES_OF_MESH, BM_ITER_ELEM_INDEX, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_mesh_elem_index_ensure(), BM_VERT, CD_MLOOPUV, CustomData_get_offset(), UvNearestHit::dist_sq, UvNearestHit::efa, l, UvNearestHit::l, BMesh::ldata, len_squared_v2(), mul_v2_v2(), UvNearestHit::ob, UvNearestHit::scale, scene, sqrtf, square_f(), sub_v2_v2v2(), MLoopUV::uv, uv_nearest_between(), uvedit_face_visible_test(), and uvedit_uv_select_test().
Referenced by uv_find_nearest_vert_multi(), uv_sculpt_stroke_init(), and uv_shortest_path_pick_invoke().
bool uv_find_nearest_vert_multi | ( | struct Scene * | scene, |
struct Object ** | objects, | ||
uint | objects_len, | ||
const float | co[2], | ||
float | penalty_dist, | ||
struct UvNearestHit * | hit | ||
) |
Definition at line 1038 of file uvedit_select.c.
References scene, and uv_find_nearest_vert().
Referenced by stitch_select(), and uv_mouse_select_multi().
void UV_OT_average_islands_scale | ( | struct wmOperatorType * | ot | ) |
Definition at line 1242 of file uvedit_unwrap_ops.c.
References average_islands_scale_exec(), wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
void UV_OT_cube_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 3046 of file uvedit_unwrap_ops.c.
References cube_project_exec(), wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), wmOperatorType::srna, and uv_map_clip_correct_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_cylinder_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 2918 of file uvedit_unwrap_ops.c.
References cylinder_project_exec(), wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, uv_map_clip_correct_properties(), and uv_transform_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_minimize_stretch | ( | struct wmOperatorType * | ot | ) |
Definition at line 1005 of file uvedit_unwrap_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, minimize_stretch_cancel(), minimize_stretch_exec(), minimize_stretch_invoke(), minimize_stretch_modal(), wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float_factor(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
void UV_OT_pack_islands | ( | struct wmOperatorType * | ot | ) |
Definition at line 1158 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, pack_islands_exec(), PACK_UDIM_SRC_ACTIVE, PACK_UDIM_SRC_CLOSEST, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
void UV_OT_project_from_view | ( | struct wmOperatorType * | ot | ) |
Definition at line 2631 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, uv_from_view_exec(), uv_from_view_invoke(), uv_from_view_poll(), and uv_map_clip_correct_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_reset | ( | struct wmOperatorType * | ot | ) |
Definition at line 2693 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and reset_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_rip | ( | struct wmOperatorType * | ot | ) |
Definition at line 945 of file uvedit_rip.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_MIRROR_DUMMY, wmOperatorType::poll, RNA_def_float_vector(), wmOperatorType::srna, Transform_Properties(), uv_rip_exec(), and uv_rip_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select | ( | struct wmOperatorType * | ot | ) |
Definition at line 2711 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), ED_select_pick_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_float_vector(), RNA_def_property_flag(), wmOperatorType::srna, uv_select_exec(), uv_select_invoke(), and WM_operator_properties_mouse_select().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 2424 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, uv_select_all_exec(), and WM_operator_properties_select_all().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_box | ( | struct wmOperatorType * | ot | ) |
Definition at line 3690 of file uvedit_select.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, uv_box_select_exec(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_circle | ( | struct wmOperatorType * | ot | ) |
Definition at line 3902 of file uvedit_select.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit_space_image(), ED_select_circle_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, uv_circle_select_exec(), WM_gesture_circle_cancel(), WM_gesture_circle_invoke(), WM_gesture_circle_modal(), WM_operator_properties_gesture_circle(), and WM_operator_properties_select_operation_simple().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_edge_ring | ( | struct wmOperatorType * | ot | ) |
Definition at line 2924 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_vector(), RNA_def_property_flag(), wmOperatorType::srna, uv_select_edge_ring_exec(), and uv_select_edge_ring_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_lasso | ( | struct wmOperatorType * | ot | ) |
Definition at line 4149 of file uvedit_select.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, uv_lasso_select_exec(), WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), WM_operator_properties_gesture_lasso(), and WM_operator_properties_select_operation_simple().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_less | ( | struct wmOperatorType * | ot | ) |
Definition at line 2210 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and uv_select_less_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_linked | ( | struct wmOperatorType * | ot | ) |
Definition at line 3035 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and uv_select_linked_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_linked_pick | ( | struct wmOperatorType * | ot | ) |
Definition at line 3066 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_vector(), RNA_def_property_flag(), wmOperatorType::srna, uv_select_linked_pick_exec(), and uv_select_linked_pick_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_loop | ( | struct wmOperatorType * | ot | ) |
Definition at line 2862 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_vector(), RNA_def_property_flag(), wmOperatorType::srna, uv_select_loop_exec(), and uv_select_loop_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_mode | ( | struct wmOperatorType * | ot | ) |
Definition at line 5397 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), rna_enum_mesh_select_mode_uv_items, wmOperatorType::srna, uv_select_mode_exec(), and uv_select_mode_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_more | ( | struct wmOperatorType * | ot | ) |
Definition at line 2192 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and uv_select_more_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_overlap | ( | struct wmOperatorType * | ot | ) |
Definition at line 4496 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and uv_select_overlap_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_pinned | ( | struct wmOperatorType * | ot | ) |
Definition at line 4234 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and uv_select_pinned_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_similar | ( | struct wmOperatorType * | ot | ) |
Definition at line 5037 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_similar_compare_types, prop_vert_similar_types, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), SIM_CMP_EQ, SIMVERT_NORMAL, wmOperatorType::srna, uv_select_similar_exec(), uv_select_similar_type_itemf(), and WM_menu_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_select_split | ( | struct wmOperatorType * | ot | ) |
Definition at line 3198 of file uvedit_select.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and uv_select_split_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_shortest_path_pick | ( | struct wmOperatorType * | ot | ) |
Definition at line 753 of file uvedit_path.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, path_select_properties(), wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), wmOperatorType::srna, uv_shortest_path_pick_exec(), and uv_shortest_path_pick_invoke().
Referenced by ED_operatortypes_uvedit().
void UV_OT_shortest_path_select | ( | struct wmOperatorType * | ot | ) |
Definition at line 852 of file uvedit_path.c.
References wmOperatorType::description, ED_operator_uvedit_space_image(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, path_select_properties(), wmOperatorType::poll, and uv_shortest_path_select_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_smart_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 2415 of file uvedit_unwrap_ops.c.
References DEG2RADF, wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_float_rotation(), RNA_def_property_float_default(), smart_project_exec(), wmOperatorType::srna, uv_map_clip_correct_properties_ex(), and WM_operator_props_popup_confirm().
Referenced by ED_operatortypes_uvedit().
void UV_OT_sphere_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 2820 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sphere_project_exec(), uv_map_clip_correct_properties(), and uv_transform_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_stitch | ( | struct wmOperatorType * | ot | ) |
Definition at line 2734 of file uvedit_smart_stitch.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_int_array(), RNA_def_property_array(), RNA_def_property_flag(), wmOperatorType::srna, stitch_cancel(), STITCH_EDGE, stitch_exec(), stitch_invoke(), stitch_modal(), and STITCH_VERT.
Referenced by ED_operatortypes_uvedit().
void UV_OT_unwrap | ( | struct wmOperatorType * | ot | ) |
Definition at line 2050 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_factor(), wmOperatorType::srna, and unwrap_exec().
Referenced by ED_operatortypes_uvedit().
Definition at line 192 of file uvedit_ops.c.
References len.
const float* uvedit_first_selected_uv_from_vertex | ( | struct Scene * | scene, |
struct BMVert * | eve, | ||
int | cd_loop_uv_offset | ||
) |
Definition at line 2016 of file uvedit_select.c.
References BM_ELEM_CD_GET_VOID_P, BM_ITER_ELEM, BM_LOOPS_OF_VERT, BMLoop::f, l, NULL, scene, MLoopUV::uv, uvedit_face_visible_test(), and uvedit_uv_select_test().
void uvedit_live_unwrap_update | ( | struct SpaceImage * | sima, |
struct Scene * | scene, | ||
struct Object * | obedit | ||
) |
Definition at line 177 of file uvedit_ops.c.
References ED_uvedit_live_unwrap_begin(), ED_uvedit_live_unwrap_end(), ED_uvedit_live_unwrap_re_solve(), SpaceImage::flag, scene, and SI_LIVE_UNWRAP.
Referenced by stitch_exit(), uv_remove_doubles_to_selected(), uv_remove_doubles_to_unselected(), uv_rip_exec(), uv_snap_selection_exec(), and uv_weld_align().
bool uvedit_select_is_any_selected_multi | ( | const struct Scene * | scene, |
struct Object ** | objects, | ||
uint | objects_len | ||
) |
Referenced by ED_uvedit_center_from_pivot_ex().
bool uvedit_vert_is_all_other_faces_selected | ( | const struct Scene * | scene, |
struct BMLoop * | l, | ||
const int | cd_loop_uv_offset | ||
) |
bool uvedit_vert_is_edge_select_any_other | ( | const struct Scene * | scene, |
struct BMLoop * | l, | ||
const int | cd_loop_uv_offset | ||
) |