|
Blender
V2.93
|
#include <math.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_camera_types.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_modifier_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_alloca.h"#include "BLI_array.h"#include "BLI_linklist.h"#include "BLI_math.h"#include "BLI_memarena.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "BLI_uvproject.h"#include "BLT_translation.h"#include "BKE_cdderivedmesh.h"#include "BKE_context.h"#include "BKE_customdata.h"#include "BKE_editmesh.h"#include "BKE_image.h"#include "BKE_layer.h"#include "BKE_lib_id.h"#include "BKE_main.h"#include "BKE_material.h"#include "BKE_mesh.h"#include "BKE_report.h"#include "BKE_scene.h"#include "BKE_subsurf.h"#include "DEG_depsgraph.h"#include "PIL_time.h"#include "UI_interface.h"#include "ED_image.h"#include "ED_mesh.h"#include "ED_screen.h"#include "ED_uvedit.h"#include "ED_view3d.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "uvedit_intern.h"#include "uvedit_parametrizer.h"Go to the source code of this file.
Classes | |
| struct | UnwrapOptions |
| struct | UnwrapResultInfo |
| struct | MinStretch |
| struct | ThickFace |
Functions | |
Utility Functions | |
| static void | modifier_unwrap_state (Object *obedit, const Scene *scene, bool *r_use_subsurf) |
| static bool | ED_uvedit_ensure_uvs (Object *obedit) |
Pack UV Islands Operator | |
| static void | uvedit_pack_islands (const Scene *scene, Object *ob, BMesh *bm) |
| static void | uvedit_pack_islands_multi (const Scene *scene, Object **objects, const uint objects_len, const UnwrapOptions *options, bool rotate, bool ignore_pinned) |
| static int | pack_islands_exec (bContext *C, wmOperator *op) |
| void | UV_OT_pack_islands (wmOperatorType *ot) |
Average UV Islands Scale Operator | |
| static int | average_islands_scale_exec (bContext *C, wmOperator *UNUSED(op)) |
| void | UV_OT_average_islands_scale (wmOperatorType *ot) |
UV Map Clip & Correct | |
| static void | uv_map_clip_correct_properties_ex (wmOperatorType *ot, bool clip_to_bounds) |
| static void | uv_map_clip_correct_properties (wmOperatorType *ot) |
| static void | uv_map_clip_correct_multi (Object **objects, uint objects_len, wmOperator *op) |
| static void | uv_map_clip_correct (Object *ob, wmOperator *op) |
Project UV From View Operator | |
| static int | uv_from_view_exec (bContext *C, wmOperator *op) |
| static int | uv_from_view_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
| static bool | uv_from_view_poll (bContext *C) |
| void | UV_OT_project_from_view (wmOperatorType *ot) |
Reset UV Operator | |
| static int | reset_exec (bContext *C, wmOperator *UNUSED(op)) |
| void | UV_OT_reset (wmOperatorType *ot) |
Sphere UV Project Operator | |
| static void | uv_sphere_project (float target[2], const float source[3], const float center[3], const float rotmat[4][4]) |
| static void | uv_map_mirror (BMEditMesh *em, BMFace *efa) |
| static int | sphere_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_sphere_project (wmOperatorType *ot) |
Cylinder UV Project Operator | |
| static void | uv_cylinder_project (float target[2], const float source[3], const float center[3], const float rotmat[4][4]) |
| static int | cylinder_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_cylinder_project (wmOperatorType *ot) |
Cube UV Project Operator | |
| static void | uvedit_unwrap_cube_project (BMesh *bm, float cube_size, bool use_select, const float center[3]) |
| static int | cube_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_cube_project (wmOperatorType *ot) |
Simple UVs for Texture Painting | |
| void | ED_uvedit_add_simple_uvs (Main *bmain, const Scene *scene, Object *ob) |
UV Map Common Transforms | |
| #define | VIEW_ON_EQUATOR 0 |
| #define | VIEW_ON_POLES 1 |
| #define | ALIGN_TO_OBJECT 2 |
| #define | POLAR_ZX 0 |
| #define | POLAR_ZY 1 |
| static void | uv_map_transform_calc_bounds (BMEditMesh *em, float r_min[3], float r_max[3]) |
| static void | uv_map_transform_calc_center_median (BMEditMesh *em, float r_center[3]) |
| static void | uv_map_transform_center (const Scene *scene, View3D *v3d, Object *ob, BMEditMesh *em, float r_center[3], float r_bounds[2][3]) |
| static void | uv_map_rotation_matrix_ex (float result[4][4], RegionView3D *rv3d, Object *ob, float upangledeg, float sideangledeg, float radius, const float offset[4]) |
| static void | uv_map_rotation_matrix (float result[4][4], RegionView3D *rv3d, Object *ob, float upangledeg, float sideangledeg, float radius) |
| static void | uv_map_transform (bContext *C, wmOperator *op, float rotmat[4][4]) |
| static void | uv_transform_properties (wmOperatorType *ot, int radius) |
| static void | correct_uv_aspect (Object *ob, BMEditMesh *em) |
UV Unwrap Operator | |
| enum | { UNWRAP_ERROR_NONUNIFORM = (1 << 0) , UNWRAP_ERROR_NEGATIVE = (1 << 1) } |
| static void | uvedit_unwrap (const Scene *scene, Object *obedit, const UnwrapOptions *options, UnwrapResultInfo *result_info) |
| static void | uvedit_unwrap_multi (const Scene *scene, Object **objects, const int objects_len, const UnwrapOptions *options, UnwrapResultInfo *result_info) |
| void | ED_uvedit_live_unwrap (const Scene *scene, Object **objects, int objects_len) |
| static int | unwrap_exec (bContext *C, wmOperator *op) |
| void | UV_OT_unwrap (wmOperatorType *ot) |
Minimize Stretch Operator | |
| typedef struct MinStretch | MinStretch |
| static bool | minimize_stretch_init (bContext *C, wmOperator *op) |
| static void | minimize_stretch_iteration (bContext *C, wmOperator *op, bool interactive) |
| static void | minimize_stretch_exit (bContext *C, wmOperator *op, bool cancel) |
| static int | minimize_stretch_exec (bContext *C, wmOperator *op) |
| static int | minimize_stretch_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
| static int | minimize_stretch_modal (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | minimize_stretch_cancel (bContext *C, wmOperator *op) |
| void | UV_OT_minimize_stretch (wmOperatorType *ot) |
Smart UV Project Operator | |
| typedef struct ThickFace | ThickFace |
| static const float | smart_uv_project_area_ignore = 1e-12f |
| static int | smart_uv_project_thickface_area_cmp_fn (const void *tf_a_p, const void *tf_b_p) |
| static uint | smart_uv_project_calculate_project_normals (const ThickFace *thick_faces, const uint thick_faces_len, BMesh *bm, const float project_angle_limit_half_cos, const float project_angle_limit_cos, const float area_weight, float(**r_project_normal_array)[3]) |
| static int | smart_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_smart_project (wmOperatorType *ot) |
Live UV Unwrap | |
| struct { | |
| ParamHandle ** handles | |
| uint len | |
| uint len_alloc | |
| } | g_live_unwrap = {NULL} |
| void | ED_uvedit_live_unwrap_begin (Scene *scene, Object *obedit) |
| void | ED_uvedit_live_unwrap_re_solve (void) |
| void | ED_uvedit_live_unwrap_end (short cancel) |
| #define ALIGN_TO_OBJECT 2 |
Definition at line 1230 of file uvedit_unwrap_ops.c.
| #define POLAR_ZX 0 |
Definition at line 1232 of file uvedit_unwrap_ops.c.
| #define POLAR_ZY 1 |
Definition at line 1233 of file uvedit_unwrap_ops.c.
| #define VIEW_ON_EQUATOR 0 |
Definition at line 1228 of file uvedit_unwrap_ops.c.
| #define VIEW_ON_POLES 1 |
Definition at line 1229 of file uvedit_unwrap_ops.c.
| typedef struct MinStretch MinStretch |
| typedef struct UnwrapOptions UnwrapOptions |
| typedef struct UnwrapResultInfo UnwrapResultInfo |
| anonymous enum |
| Enumerator | |
|---|---|
| UNWRAP_ERROR_NONUNIFORM | |
| UNWRAP_ERROR_NEGATIVE | |
Definition at line 1715 of file uvedit_unwrap_ops.c.
|
static |
Definition at line 1080 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs, BMEditMesh::bm, C, construct_param_handle_multi(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), ID_RECALC_GEOMETRY, MEM_freeN, NC_GEOM, ND_DATA, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, options, param_average(), param_delete(), param_flush(), scene, Scene::toolsettings, BMesh::totvertsel, ToolSettings::uv_flag, UV_SYNC_SELECTION, uvedit_have_selection_multi(), and WM_event_add_notifier().
Referenced by UV_OT_average_islands_scale().
|
static |
Definition at line 286 of file uvedit_unwrap_ops.c.
References bm, BM_EDGES_OF_MESH, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_elem_index_get, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_LOOPS_OF_FACE, BM_mesh_elem_index_ensure(), BM_VERT, CD_MLOOPUV, construct_param_handle_face_add(), UnwrapResultInfo::count_failed, CustomData_get_offset(), ED_uvedit_get_aspect(), l, BMesh::ldata, NULL, options, param_aspect_ratio(), param_construct_begin(), param_construct_end(), param_edge_set_seam(), scene, uvedit_uv_select_test(), BMEdge::v1, and BMEdge::v2.
Referenced by ED_uvedit_live_unwrap_begin(), uvedit_pack_islands(), and uvedit_unwrap().
|
static |
Definition at line 251 of file uvedit_unwrap_ops.c.
References BLI_array_alloca, BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, BMVert::co, MLoopUV::flag, l, BMFace::len, MLOOPUV_PINNED, param_face_add(), scene, select(), MLoopUV::uv, uvedit_uv_select_test(), and BMLoop::v.
Referenced by construct_param_handle(), and construct_param_handle_multi().
|
static |
Version of #construct_param_handle_single that handles multiple objects.
Definition at line 364 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, bm, BM_EDGES_OF_MESH, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_elem_index_get, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_LOOPS_OF_FACE, BM_VERT, CD_MLOOPUV, construct_param_handle_face_add(), CustomData_get_offset(), ED_uvedit_get_aspect(), EDBM_mesh_elem_index_ensure_multi(), l, BMesh::ldata, options, param_aspect_ratio(), param_construct_begin(), param_construct_end(), param_edge_set_seam(), scene, BMesh::totface, uvedit_uv_select_test(), BMEdge::v1, and BMEdge::v2.
Referenced by average_islands_scale_exec(), minimize_stretch_init(), and uvedit_pack_islands_multi().
|
static |
Unwrap handle initialization for subsurf aware-unwrapper. The many modifications required to make the original function(see above) work justified the existence of a new function.
Definition at line 485 of file uvedit_unwrap_ops.c.
References BKE_id_free(), BKE_mesh_from_bmesh_for_eval_nomain(), BLI_assert, BMEditMesh::bm, BM_EDGE, BM_edge_at_index(), BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_FACE, BM_face_at_index(), BM_mesh_elem_index_ensure(), BM_mesh_elem_table_ensure(), BM_VERT, CD_MLOOPUV, CD_ORIGINDEX, CDDM_from_mesh(), MVert::co, UnwrapResultInfo::count_failed, CustomData_get_offset(), Object::data, ED_uvedit_get_aspect(), faceMap, ListBase::first, DerivedMesh::getEdgeArray, DerivedMesh::getEdgeDataArray, DerivedMesh::getLoopArray, DerivedMesh::getNumEdges, DerivedMesh::getNumPolys, DerivedMesh::getPolyArray, DerivedMesh::getPolyDataArray, DerivedMesh::getVertArray, DerivedMesh::getVertDataArray, BMesh::ldata, SubsurfModifierData::levels, MPoly::loopstart, MEM_freeN, MEM_mallocN, Object::modifiers, NULL, options, ORIGINDEX_NONE, param_aspect_ratio(), param_construct_begin(), param_construct_end(), param_edge_set_seam(), param_face_add(), DerivedMesh::release, scene, select(), SubsurfModifierData::subdivType, SUBSURF_IN_EDIT_MODE, subsurf_make_derived_from_derived(), texface_from_original_index(), Scene::toolsettings, MPoly::totloop, ToolSettings::uv_flag, UV_SYNC_SELECTION, v, MLoop::v, MEdge::v1, and MEdge::v2.
Referenced by ED_uvedit_live_unwrap_begin(), and uvedit_unwrap().
|
static |
Definition at line 1463 of file uvedit_unwrap_ops.c.
References BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_MLOOPUV, CustomData_get_offset(), ED_uvedit_get_aspect(), l, BMesh::ldata, and MLoopUV::uv.
Referenced by uv_map_clip_correct_multi().
|
static |
Definition at line 2792 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bounds(), C, center, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), ED_uvedit_ensure_uvs(), float(), ID_RECALC_GEOMETRY, max_fff(), MEM_freeN, NC_GEOM, ND_DATA, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_property_float_get(), RNA_property_float_set(), RNA_property_is_set(), RNA_struct_find_property(), scene, sub_v3_v3v3(), BMesh::totfacesel, UNPACK3, uv_map_clip_correct(), uv_map_transform_center(), uvedit_unwrap_cube_project(), and WM_event_add_notifier().
Referenced by UV_OT_cube_project().
|
static |
Definition at line 2673 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, C, CD_MLOOPUV, center, BMVert::co, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, DEG_id_tag_update(), ED_uvedit_ensure_uvs(), ID_RECALC_GEOMETRY, l, BMesh::ldata, MEM_freeN, NC_GEOM, ND_DATA, NULL, OPERATOR_FINISHED, ProjCameraInfo::rotmat, scene, BMesh::totfacesel, MLoopUV::uv, uv_cylinder_project(), uv_map_clip_correct(), uv_map_mirror(), uv_map_transform(), uv_map_transform_center(), BMLoop::v, and WM_event_add_notifier().
Referenced by UV_OT_cylinder_project().
Definition at line 2884 of file uvedit_unwrap_ops.c.
References bm, bm_mesh_allocsize_default, BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_create(), BM_mesh_free(), Object::data, ED_mesh_uv_texture_ensure(), ED_uvedit_select_all(), NULL, scene, Scene::toolsettings, ToolSettings::uv_flag, UV_SYNC_SELECTION, ToolSettings::uvcalc_margin, uvedit_pack_islands(), and uvedit_unwrap_cube_project().
|
static |
Definition at line 107 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_MLOOPUV, CustomData_get_offset(), CustomData_has_layer(), Object::data, ED_mesh_uv_texture_add(), ED_uvedit_test(), MLoopUV::flag, l, BMesh::ldata, MLOOPUV_VERTSEL, NULL, and BMesh::totface.
Referenced by cube_project_exec(), cylinder_project_exec(), reset_exec(), smart_project_exec(), sphere_project_exec(), unwrap_exec(), and uv_from_view_exec().
Definition at line 229 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_mesh_active_face_get(), ED_image_get_uv_aspect(), ED_object_get_active_image(), BMFace::mat_nr, and NULL.
Referenced by construct_param_handle(), construct_param_handle_multi(), construct_param_handle_subsurfed(), correct_uv_aspect(), ED_uvedit_pack_islands_multi(), stitch_init(), uv_rip_exec(), uv_shortest_path_pick_exec(), uv_shortest_path_pick_invoke(), and uv_shortest_path_select_exec().
Definition at line 1696 of file uvedit_unwrap_ops.c.
References ToolSettings::edge_mode_live_unwrap, NULL, options, rotate(), scene, Scene::toolsettings, UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, UVCALC_NO_ASPECT_CORRECT, uvedit_pack_islands_multi(), and uvedit_unwrap_multi().
Definition at line 1149 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, construct_param_handle(), construct_param_handle_subsurfed(), ED_uvedit_test(), g_live_unwrap, MEM_mallocN, MEM_reallocN, modifier_unwrap_state(), NULL, options, param_lscm_begin(), PARAM_TRUE, scene, Scene::toolsettings, ToolSettings::unwrapper, UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, and UVCALC_NO_ASPECT_CORRECT.
Referenced by createTransUVs(), and uvedit_live_unwrap_update().
| void ED_uvedit_live_unwrap_end | ( | short | cancel | ) |
Definition at line 1205 of file uvedit_unwrap_ops.c.
References g_live_unwrap, MEM_freeN, NULL, param_delete(), param_flush_restore(), and param_lscm_end().
Referenced by postTrans(), and uvedit_live_unwrap_update().
| void ED_uvedit_live_unwrap_re_solve | ( | void | ) |
Definition at line 1195 of file uvedit_unwrap_ops.c.
References g_live_unwrap, NULL, param_flush(), and param_lscm_solve().
Referenced by recalcData_uv(), and uvedit_live_unwrap_update().
|
static |
Definition at line 909 of file uvedit_unwrap_ops.c.
References C, and minimize_stretch_exit().
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 820 of file uvedit_unwrap_ops.c.
References C, minimize_stretch_exit(), minimize_stretch_init(), minimize_stretch_iteration(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, and RNA_int_get().
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 778 of file uvedit_unwrap_ops.c.
References blender::compositor::area(), BKE_editmesh_from_object(), BMEditMesh::bm, C, CTX_data_scene(), CTX_wm_area(), CTX_wm_manager(), CTX_wm_window(), wmOperator::customdata, Object::data, DEG_id_tag_update(), ED_area_status_text(), ED_workspace_status_text(), MinStretch::handle, ID_RECALC_GEOMETRY, MEM_freeN, NC_GEOM, ND_DATA, NULL, MinStretch::objects_edit, MinStretch::objects_len, param_delete(), param_flush(), param_flush_restore(), param_stretch_end(), scene, MinStretch::timer, Scene::toolsettings, BMesh::totfacesel, ToolSettings::uv_flag, UV_SYNC_SELECTION, WM_event_add_notifier(), and WM_event_remove_timer().
Referenced by minimize_stretch_cancel(), minimize_stretch_exec(), and minimize_stretch_modal().
|
static |
Definition at line 695 of file uvedit_unwrap_ops.c.
References BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs, MinStretch::blend, C, construct_param_handle_multi(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), wmOperator::customdata, MinStretch::handle, MinStretch::i, MinStretch::iterations, MinStretch::lasttime, MEM_callocN, MEM_freeN, NULL, MinStretch::objects_edit, MinStretch::objects_len, options, param_stretch_begin(), param_stretch_blend(), PIL_check_seconds_timer(), wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), RNA_int_get(), scene, MinStretch::scene, and uvedit_have_selection_multi().
Referenced by minimize_stretch_exec(), and minimize_stretch_invoke().
|
static |
Definition at line 837 of file uvedit_unwrap_ops.c.
References C, CTX_wm_manager(), CTX_wm_window(), wmOperator::customdata, minimize_stretch_init(), minimize_stretch_iteration(), OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, MinStretch::timer, TIMER, WM_event_add_modal_handler(), and WM_event_add_timer().
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 737 of file uvedit_unwrap_ops.c.
References blender::compositor::area(), BKE_editmesh_from_object(), MinStretch::blend, BLI_snprintf(), BMEditMesh::bm, C, CTX_data_scene(), CTX_wm_area(), wmOperator::customdata, Object::data, DEG_id_tag_update(), ED_area_status_text(), ED_workspace_status_text(), MinStretch::handle, MinStretch::i, ID_RECALC_GEOMETRY, MinStretch::lasttime, NC_GEOM, ND_DATA, MinStretch::objects_edit, MinStretch::objects_len, param_flush(), param_stretch_blend(), param_stretch_iter(), PIL_check_seconds_timer(), wmOperator::ptr, RNA_int_set(), scene, str, TIP_, Scene::toolsettings, BMesh::totfacesel, UI_MAX_DRAW_STR, ToolSettings::uv_flag, UV_SYNC_SELECTION, and WM_event_add_notifier().
Referenced by minimize_stretch_exec(), minimize_stretch_invoke(), and minimize_stretch_modal().
|
static |
Definition at line 854 of file uvedit_unwrap_ops.c.
References MinStretch::blend, C, wmOperator::customdata, wmEvent::customdata, EVT_ESCKEY, EVT_PADENTER, EVT_PADMINUS, EVT_PADPLUSKEY, EVT_RETKEY, MinStretch::i, MinStretch::iterations, KM_PRESS, MinStretch::lasttime, LEFTMOUSE, minimize_stretch_exit(), minimize_stretch_iteration(), OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, PIL_check_seconds_timer(), wmOperator::ptr, RIGHTMOUSE, RNA_float_set(), MinStretch::timer, TIMER, wmEvent::type, wmEvent::val, WHEELDOWNMOUSE, and WHEELUPMOUSE.
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 87 of file uvedit_unwrap_ops.c.
References eModifierType_Subsurf, ListBase::first, Object::modifiers, scene, Scene::toolsettings, ModifierData::type, ToolSettings::uvcalc_flag, and UVCALC_USESUBSURF.
Referenced by ED_uvedit_live_unwrap_begin(), unwrap_exec(), and uvedit_unwrap().
|
static |
Definition at line 1008 of file uvedit_unwrap_ops.c.
References BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs, C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), ED_uvedit_pack_islands_multi(), MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, options, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), RNA_float_set(), RNA_struct_property_is_set(), rotate(), scene, Scene::toolsettings, ToolSettings::uvcalc_margin, and uvedit_have_selection_multi().
Referenced by UV_OT_pack_islands().
|
static |
Definition at line 2472 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), ED_mesh_uv_loop_reset(), ED_uvedit_ensure_uvs(), ID_RECALC_GEOMETRY, MEM_freeN, NC_GEOM, ND_DATA, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by UV_OT_reset().
|
static |
Definition at line 2054 of file uvedit_unwrap_ops.c.
References blender::compositor::area(), ThickFace::area, axis_dominant_v3_to_m3(), BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BLI_linklist_prepend_arena(), BLI_memarena_clear(), BLI_memarena_free(), BLI_memarena_new(), BLI_MEMARENA_STD_BUFSIZE, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_face_calc_area(), BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, C, CD_MLOOPUV, BMVert::co, cosf, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), dot_v3v3(), ED_uvedit_ensure_uvs(), ED_uvedit_pack_islands_multi(), ThickFace::efa, float(), l, BMesh::ldata, MEM_callocN, MEM_freeN, MEM_mallocN, mul_v2_m3v3(), LinkNode::next, BMFace::no, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), scene, smart_uv_project_area_ignore, smart_uv_project_calculate_project_normals(), smart_uv_project_thickface_area_cmp_fn(), Scene::toolsettings, BMesh::totface, MLoopUV::uv, uv_map_clip_correct_multi(), ToolSettings::uvcalc_margin, BMLoop::v, and zero_v2().
Referenced by UV_OT_smart_project().
|
static |
Definition at line 1947 of file uvedit_unwrap_ops.c.
References add_v3_v3(), ThickFace::area, BLI_array_append, BLI_array_append_ret, BLI_array_clear, BLI_array_declare, BLI_array_free, BLI_array_len, bm, BM_elem_flag_enable, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_disable_all(), copy_v3_v3(), dot_v3v3(), ThickFace::efa, float(), madd_v3_v3fl(), max_ff(), BMFace::no, normal, normalize_v3(), NULL, and UNLIKELY.
Referenced by smart_project_exec().
|
static |
Definition at line 1925 of file uvedit_unwrap_ops.c.
References ThickFace::area, and smart_uv_project_area_ignore.
Referenced by smart_project_exec().
|
static |
Definition at line 2575 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, C, CD_MLOOPUV, center, BMVert::co, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, DEG_id_tag_update(), ED_uvedit_ensure_uvs(), ID_RECALC_GEOMETRY, l, BMesh::ldata, MEM_freeN, NC_GEOM, ND_DATA, NULL, OPERATOR_FINISHED, ProjCameraInfo::rotmat, scene, BMesh::totfacesel, MLoopUV::uv, uv_map_clip_correct(), uv_map_mirror(), uv_map_transform(), uv_map_transform_center(), uv_sphere_project(), BMLoop::v, and WM_event_add_notifier().
Referenced by UV_OT_sphere_project().
|
static |
Definition at line 449 of file uvedit_unwrap_ops.c.
References BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, BM_ITER_ELEM, BM_LOOPS_OF_FACE, MLoopUV::flag, l, MLOOPUV_PINNED, NULL, ORIGINDEX_NONE, scene, MLoopUV::uv, uvedit_uv_select_test(), and BMLoop::v.
Referenced by construct_param_handle_subsurfed().
|
static |
Definition at line 1720 of file uvedit_unwrap_ops.c.
References BKE_report(), BKE_reportf(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, C, UnwrapResultInfo::count_changed, UnwrapResultInfo::count_failed, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), ED_uvedit_ensure_uvs(), fabsf, is_negative_m4(), mat4_to_size(), MEM_freeN, modifier_unwrap_state(), Object::obmat, OPERATOR_CANCELLED, OPERATOR_FINISHED, options, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RNA_float_get(), RNA_float_set(), RNA_struct_property_is_set(), rotate(), RPT_INFO, RPT_WARNING, scene, Scene::toolsettings, UNWRAP_ERROR_NEGATIVE, UNWRAP_ERROR_NONUNIFORM, ToolSettings::unwrapper, UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, ToolSettings::uvcalc_margin, UVCALC_NO_ASPECT_CORRECT, UVCALC_USESUBSURF, uvedit_have_selection_multi(), uvedit_pack_islands_multi(), and uvedit_unwrap_multi().
Referenced by UV_OT_unwrap().
|
static |
Definition at line 2655 of file uvedit_unwrap_ops.c.
References center, map_to_tube(), mul_m4_v3(), ProjCameraInfo::rotmat, and sub_v3_v3v3().
Referenced by cylinder_project_exec().
|
static |
Definition at line 2304 of file uvedit_unwrap_ops.c.
References add_v4_v4(), ARRAY_DELETE_REORDER_LAST, BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_uvproject_camera_info(), BLI_uvproject_from_camera(), BLI_uvproject_from_view(), BLI_uvproject_from_view_ortho(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, C, View3D::camera, CD_MLOOPUV, BMVert::co, copy_m4_m4(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_region_view3d(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, DEG_id_tag_update(), ED_uvedit_ensure_uvs(), ED_view3d_camera_data_get(), ID_RECALC_GEOMETRY, l, BMesh::ldata, MEM_freeN, mul_v4_fl(), NC_GEOM, ND_DATA, negate_v4_v4(), Object::obmat, OPERATOR_CANCELLED, OPERATOR_FINISHED, RegionView3D::persmat, wmOperator::ptr, Scene::r, RNA_boolean_get(), ProjCameraInfo::rotmat, scene, MLoopUV::uv, uv_map_clip_correct_multi(), uv_map_rotation_matrix_ex(), BMLoop::v, ARegion::winx, ARegion::winy, WM_event_add_notifier(), RenderData::xasp, RenderData::xsch, RenderData::yasp, and RenderData::ysch.
Referenced by uv_from_view_invoke(), and UV_OT_project_from_view().
|
static |
Definition at line 2285 of file uvedit_unwrap_ops.c.
References C, CTX_wm_region_view3d(), CTX_wm_view3d(), ED_view3d_camera_data_get(), NULL, wmOperator::ptr, RNA_property_boolean_set(), RNA_property_is_set(), RNA_struct_find_property(), and uv_from_view_exec().
Referenced by UV_OT_project_from_view().
|
static |
Definition at line 2431 of file uvedit_unwrap_ops.c.
References C, CTX_wm_region_view3d(), ED_operator_uvmap(), and NULL.
Referenced by UV_OT_project_from_view().
|
static |
Definition at line 1636 of file uvedit_unwrap_ops.c.
References uv_map_clip_correct_multi().
Referenced by cube_project_exec(), cylinder_project_exec(), and sphere_project_exec().
|
static |
Definition at line 1549 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_MLOOPUV, clamp_v2(), correct_uv_aspect(), CustomData_get_offset(), INIT_MINMAX2, l, BMesh::ldata, max, min, minmax_v2v2_v2(), wmOperator::ptr, RNA_boolean_get(), RNA_struct_find_property(), and MLoopUV::uv.
Referenced by smart_project_exec(), uv_from_view_exec(), and uv_map_clip_correct().
|
static |
Definition at line 1544 of file uvedit_unwrap_ops.c.
References ot, and uv_map_clip_correct_properties_ex().
Referenced by UV_OT_cube_project(), UV_OT_cylinder_project(), UV_OT_project_from_view(), and UV_OT_sphere_project().
|
static |
Definition at line 1522 of file uvedit_unwrap_ops.c.
References ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by uv_map_clip_correct_properties(), and UV_OT_smart_project().
|
static |
Definition at line 2542 of file uvedit_unwrap_ops.c.
References BLI_array_alloca, BMEditMesh::bm, BM_ELEM_CD_GET_VOID_P, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, CD_MLOOPUV, CustomData_get_offset(), l, BMesh::ldata, BMFace::len, and MLoopUV::uv.
Referenced by cylinder_project_exec(), and sphere_project_exec().
|
static |
Definition at line 1374 of file uvedit_unwrap_ops.c.
References result, and uv_map_rotation_matrix_ex().
Referenced by uv_map_transform().
|
static |
Definition at line 1320 of file uvedit_unwrap_ops.c.
References add_v4_v4(), copy_m4_m4(), cosf, float(), M_PI, mul_m4_series, Object::obmat, result, sinf, unit_m4(), RegionView3D::viewmat, zero_m4(), and zero_v3().
Referenced by uv_from_view_exec(), and uv_map_rotation_matrix().
|
static |
Definition at line 1385 of file uvedit_unwrap_ops.c.
References ALIGN_TO_OBJECT, C, CTX_data_edit_object(), CTX_wm_region_view3d(), POLAR_ZY, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), RNA_struct_find_property(), unit_m4(), uv_map_rotation_matrix(), and VIEW_ON_EQUATOR.
Referenced by cylinder_project_exec(), and sphere_project_exec().
|
static |
Definition at line 1235 of file uvedit_unwrap_ops.c.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_face_calc_bounds_expand(), BM_FACES_OF_MESH, BM_ITER_MESH, and INIT_MINMAX.
Referenced by uv_map_transform_center().
|
static |
Definition at line 1247 of file uvedit_unwrap_ops.c.
References add_v3_v3(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_face_calc_center_median(), BM_FACES_OF_MESH, BM_ITER_MESH, center, mul_v3_fl(), and zero_v3().
Referenced by uv_map_transform_center().
|
static |
Definition at line 1264 of file uvedit_unwrap_ops.c.
References ATTR_FALLTHROUGH, BMEditMesh::bm, BM_editselection_center(), BM_select_history_active_get(), bounds(), copy_v3_v3(), Scene::cursor, Object::imat, INIT_MINMAX, invert_m4_m4(), View3DCursor::location, mid_v3_v3v3(), mul_v3_m4v3(), Object::obmat, scene, Scene::toolsettings, ToolSettings::transform_pivot_point, uv_map_transform_calc_bounds(), uv_map_transform_calc_center_median(), V3D_AROUND_ACTIVE, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_CURSOR, V3D_AROUND_LOCAL_ORIGINS, and zero_v3().
Referenced by cube_project_exec(), cylinder_project_exec(), and sphere_project_exec().
| void UV_OT_average_islands_scale | ( | wmOperatorType * | ot | ) |
Definition at line 1124 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, and wmOperatorType::poll.
Referenced by ED_operatortypes_uvedit().
| void UV_OT_cube_project | ( | wmOperatorType * | ot | ) |
Definition at line 2852 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 | ( | wmOperatorType * | ot | ) |
Definition at line 2729 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 | ( | wmOperatorType * | ot | ) |
Definition at line 914 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 | ( | wmOperatorType * | ot | ) |
Definition at line 1055 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, pack_islands_exec(), wmOperatorType::poll, RNA_def_boolean(), RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
| void UV_OT_project_from_view | ( | wmOperatorType * | ot | ) |
Definition at line 2442 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 | ( | wmOperatorType * | ot | ) |
Definition at line 2504 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_smart_project | ( | wmOperatorType * | ot | ) |
Definition at line 2226 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 | ( | wmOperatorType * | ot | ) |
Definition at line 2631 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_unwrap | ( | wmOperatorType * | ot | ) |
Definition at line 1864 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().
|
static |
Definition at line 2524 of file uvedit_unwrap_ops.c.
References center, map_to_sphere(), mul_m4_v3(), ProjCameraInfo::rotmat, and sub_v3_v3v3().
Referenced by sphere_project_exec().
|
static |
Definition at line 1420 of file uvedit_unwrap_ops.c.
References ALIGN_TO_OBJECT, NULL, ot, POLAR_ZX, POLAR_ZY, RNA_def_enum(), RNA_def_float(), wmOperatorType::srna, VIEW_ON_EQUATOR, and VIEW_ON_POLES.
Referenced by UV_OT_cylinder_project(), and UV_OT_sphere_project().
|
static |
Definition at line 173 of file uvedit_unwrap_ops.c.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_MLOOPUV, CustomData_get_offset(), l, BMesh::ldata, options, scene, Scene::toolsettings, BMesh::totfacesel, ToolSettings::uv_flag, UV_SYNC_SELECTION, and uvedit_uv_select_test().
Referenced by uvedit_have_selection_multi().
|
static |
Definition at line 212 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), options, scene, and uvedit_have_selection().
Referenced by average_islands_scale_exec(), minimize_stretch_init(), pack_islands_exec(), and unwrap_exec().
Definition at line 962 of file uvedit_unwrap_ops.c.
References bm, construct_param_handle(), NULL, options, param_delete(), param_flush(), param_pack(), rotate(), scene, Scene::toolsettings, and ToolSettings::uvcalc_margin.
Referenced by ED_uvedit_add_simple_uvs().
|
static |
TODO: remove this function, in favor of ED_uvedit_pack_islands_multi.
Definition at line 988 of file uvedit_unwrap_ops.c.
References construct_param_handle_multi(), Object::data, DEG_id_tag_update(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, NULL, options, param_delete(), param_flush(), param_pack(), rotate(), scene, Scene::toolsettings, ToolSettings::uvcalc_margin, and WM_main_add_notifier().
Referenced by ED_uvedit_live_unwrap(), and unwrap_exec().
|
static |
Definition at line 1648 of file uvedit_unwrap_ops.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, CD_MLOOPUV, construct_param_handle(), construct_param_handle_subsurfed(), UnwrapResultInfo::count_changed, UnwrapResultInfo::count_failed, CustomData_has_layer(), BMesh::ldata, modifier_unwrap_state(), NULL, options, param_average(), param_delete(), PARAM_FALSE, param_flush(), param_lscm_begin(), param_lscm_end(), param_lscm_solve(), scene, Scene::toolsettings, and ToolSettings::unwrapper.
Referenced by uvedit_unwrap_multi().
|
static |
Definition at line 2751 of file uvedit_unwrap_ops.c.
References axis_dominant_v3(), bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_MLOOPUV, center, BMVert::co, copy_v3_v3(), CustomData_get_offset(), l, BMesh::ldata, BMFace::no, MLoopUV::uv, BMLoop::v, and zero_v3().
Referenced by cube_project_exec(), and ED_uvedit_add_simple_uvs().
|
static |
Definition at line 1682 of file uvedit_unwrap_ops.c.
References Object::data, DEG_id_tag_update(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, options, scene, uvedit_unwrap(), and WM_main_add_notifier().
Referenced by ED_uvedit_live_unwrap(), and unwrap_exec().
| struct { ... } g_live_unwrap |
Referenced by ED_uvedit_live_unwrap_begin(), ED_uvedit_live_unwrap_end(), and ED_uvedit_live_unwrap_re_solve().
| ParamHandle** handles |
Definition at line 1145 of file uvedit_unwrap_ops.c.
Referenced by BKE_curve_decimate_bezt_array(), do_multires_bake(), do_sequence_proxy(), IMB_processor_apply_threaded(), knot_remove_error_recalculate(), project_paint_op(), and sequencer_box_select_exec().
Definition at line 1146 of file uvedit_unwrap_ops.c.
Referenced by _bli_array_permute(), _glewSearchExtension(), add_struct(), addedgetoscanlist(), Freestyle::BlenderFileLoader::addTriangle(), alter_co(), an_stringdec(), angle_poly_v3(), ANIM_add_driver_with_target(), apply_heights_callback(), arrow_draw_geom(), bezier_handle_calc_length_v3(), BKE_bpath_traverse_id(), BKE_brush_curve_strength(), BKE_brush_curve_strength_clamped(), BKE_curve_bevelList_make(), BKE_curve_correct_bezpart(), BKE_displist_make_surf(), BKE_fcurve_correct_bezpart(), BKE_fcurve_pathcache_find(), BKE_fcurve_pathcache_find_array(), BKE_image_user_frame_get(), BKE_keyblock_convert_from_mesh(), BKE_mask_clipboard_copy_from_layer(), BKE_mask_point_set_handle(), BKE_mask_spline_resolution(), BKE_mball_is_basis(), BKE_nurb_duplicate(), BKE_nurb_makeCurve(), BKE_nurb_makeFaces(), BKE_object_dimensions_set_ex(), BKE_paint_toolslots_len_ensure(), BKE_ptcache_disk_cache_rename(), BKE_ptcache_id_clear(), BKE_ptcache_id_time(), BKE_ptcache_load_external(), BKE_report(), BKE_scene_multiview_view_prefix_get(), BKE_tracking_tracks_join(), BKE_vfont_clipboard_set(), BLF_boundbox(), BLF_boundbox_ex(), BLF_boundbox_foreach_glyph(), BLF_boundbox_foreach_glyph_ex(), BLF_draw(), BLF_draw_ascii(), BLF_draw_ascii_ex(), BLF_draw_buffer(), BLF_draw_buffer_ex(), BLF_draw_default(), BLF_draw_default_ascii(), BLF_draw_ex(), BLF_draw_mono(), blf_font_boundbox(), blf_font_boundbox__wrap(), blf_font_boundbox_ex(), blf_font_boundbox_foreach_glyph(), blf_font_boundbox_foreach_glyph_ex(), blf_font_boundbox_wrap_cb(), blf_font_count_missing_chars(), blf_font_draw(), blf_font_draw__wrap(), blf_font_draw__wrap_cb(), blf_font_draw_ascii(), blf_font_draw_ascii_ex(), blf_font_draw_buffer(), blf_font_draw_buffer__wrap(), blf_font_draw_buffer__wrap_cb(), blf_font_draw_buffer_ex(), blf_font_draw_ex(), blf_font_draw_mono(), blf_font_height(), blf_font_width(), blf_font_width_and_height(), blf_font_width_to_rstrlen(), blf_font_width_to_strlen(), blf_font_wrap_apply(), BLF_height(), BLF_height_ex(), BLF_width(), BLF_width_and_height(), BLF_width_ex(), BLF_width_to_rstrlen(), BLF_width_to_strlen(), BLI_box_pack_2d(), BLI_dir_free_space(), BLI_dynstr_appendf(), BLI_dynstr_nappend(), BLI_dynstr_vappendf(), BLI_exists(), BLI_filename_make_safe(), BLI_gzip_mem_to_file_at_pos(), BLI_hash_md5_buffer(), BLI_hash_md5_stream(), BLI_hash_md5_to_hexdigest(), BLI_hash_mm2(), BLI_hash_mm2a_add(), BLI_hash_mm3(), BLI_jitterate1(), BLI_linklist_count(), BLI_path_frame_get(), BLI_path_frame_strip(), BLI_path_join(), BLI_path_slash_ensure(), BLI_path_slash_rstrip(), BLI_str_escape(), BLI_str_format_byte_unit(), BLI_str_tolower_ascii(), BLI_str_toupper_ascii(), BLI_str_unescape(), BLI_str_utf32_as_utf8(), BLI_str_utf32_as_utf8_len(), BLI_str_utf8_as_unicode(), BLI_str_utf8_as_unicode_and_size(), BLI_str_utf8_as_unicode_and_size_safe(), BLI_str_utf8_as_unicode_step(), BLI_str_utf8_as_utf32(), BLI_str_utf8_from_unicode(), BLI_str_utf8_size(), BLI_str_utf8_size_safe(), BLI_strcasestr(), BLI_strdupn(), BLI_string_find_split_words(), BLI_string_flip_side_name(), BLI_string_split_prefix(), BLI_string_split_suffix(), BLI_strlen_utf8_ex(), BLI_strncasecmp(), BLI_strncasestr(), BLI_strncpy_wchar_as_utf8(), BLI_strnlen(), BLI_strnlen_utf8_ex(), BLI_system_thread_count(), BLI_ungzip_file_to_mem_at_pos(), BLI_uniquename_cb(), BLI_wstrlen_utf8(), bm_bridge_best_rotation(), BM_disk_dissolve(), bm_edge_info_average_length(), BM_edge_is_any_face_len_test(), bm_edge_seg_isect(), bm_edgeloop_offset_length(), BM_edges_from_verts(), BM_edges_from_verts_ensure(), bm_edges_sort_winding(), BM_face_create(), BM_face_create_ngon(), BM_face_create_ngon_verts(), BM_face_create_verts(), BM_face_exists(), BM_face_exists_multi(), BM_face_exists_multi_edge(), BM_face_exists_overlap(), BM_face_exists_overlap_subset(), BM_face_split_edgenet_connect_islands(), BM_face_splits_check_legal(), BM_face_splits_check_optimal(), BM_iter_as_array(), BM_loop_at_index_find(), BM_loop_calc_face_normal(), bm_mesh_calc_uvs_sphere_face(), bm_uuidwalk_init_from_edge(), BM_vert_calc_normal(), BM_vert_calc_normal_ex(), BM_vert_dissolve(), BM_vert_normal_update_all(), BM_verts_from_edges(), BM_verts_in_face(), BM_verts_in_face_count(), BM_verts_sort_radial_plane(), bmesh_disk_validate(), bmesh_elem_check(), bmesh_loop_validate(), bmo_connect_verts_nonplanar_exec(), bmo_create_uvsphere_exec(), BMO_iter_as_array(), BMO_slot_as_arrayN(), BMO_slot_buffer_alloc(), bmw_EdgeringWalker_step(), boid_brain(), bone_autoside_name(), boxPack_FromPyObject(), boxPack_ToPyObject(), bpy_bmeditselseq_subscript(), bpy_bmelemseq_subscript(), bpy_bmlayercollection_subscript(), bpy_bmlayercollection_subscript_int(), bpy_bmlayercollection_subscript_slice(), BPY_context_member_get(), BPy_IDGroup_CorrectListLen(), bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), BPy_Wrap_GetKeys(), brush_painter_curve_mask_new(), btAdjustInternalEdgeContacts(), btStrLen(), buffer_alloc(), buffer_realloc(), Buffer_to_list(), Buffer_to_list_recursive(), BVH(), bvh_instance_pop(), bvh_instance_pop_factor(), bvh_instance_push(), C_BVHTree_FromPolygons(), calc_bevfac_spline_mapping(), calchandle_curvemap(), calchandleNurb_intern(), btTransformUtil::calculateDiffAxisAngle(), btTransformUtil::calculateDiffAxisAngleQuaternion(), camera_distance(), camera_z_depth(), check_destination(), check_field_alignment(), clampto_evaluate(), clg_ctx_filter_check(), clg_str_append_with_len(), clg_str_reserve(), cloth_bend_poly_dir(), cloth_bend_set_poly_vert_array(), cloth_calc_helper_forces(), compute_face_normal(), Mesh::Triangle::compute_normal(), console_indent_exec(), console_insert_exec(), console_insert_invoke(), console_line_insert(), console_line_verify_length(), console_unindent_exec(), copy_single_file(), Freestyle::createStroke(), curve_to_displist(), deformStroke(), LightManager::device_update_points(), direction_to_equirectangular_range(), DNA_elem_size_nr(), do_makeDispListCurveTypes(), dquat_to_mat4(), draw_distortion(), draw_frustum_bound_sphere_calc(), drw_shgroup_bone_envelope(), ED_armature_ebone_from_mat3(), ed_editnurb_extrude_flag(), ED_gpencil_stroke_point_is_inside(), ED_mask_feather_find_nearest(), ed_mesh_pick_vert__mapFunc(), ED_scene_grid_scale(), ED_undo_editmode_bases_from_view_layer(), ED_undo_editmode_objects_from_view_layer(), ED_view3d_grid_steps(), ED_view3d_grid_view_scale(), edbm_bevel_calc_initial_length(), edbm_connect_vert_pair(), edbm_knife_cut_exec(), editstr_insert_at_cursor(), eff_calc_visibility(), ensure_digits(), exr_rgba_channelname(), extract_lines_loose_subbuffer(), extract_tris_finish(), face_map_move_exec(), fcurve_path_rename(), blender::compositor::FHT(), file_draw_string_multiline(), find_internal_spring_target_vertex(), flatten_string(), flatten_string_append(), flatten_string_strlen(), followpath_path_animate_exec(), fsmenu_entry_generate_name(), fsmenu_read_bookmarks(), gearGL(), get_section_len(), get_stats_string(), get_suggest_prefix(), GHOST_SystemWin32::getClipboard(), GHOST_SystemX11::getClipboard_xcout(), GHOST_SystemCocoa::GHOST_SystemCocoa(), GHOST_WindowX11::GHOST_WindowX11(), gizmo_preselect_elem_test_select(), gpencil_duplicate_points(), GPU_shader_uniform_2fv_array(), GPU_shader_uniform_4fv_array(), GPU_shader_uniform_vector(), GPU_shader_uniform_vector_int(), gpu_str_skip_token(), GPU_unpack_row_length_set(), GPU_vertbuf_update_sub(), GPU_vertformat_safe_attr_name(), HsiehHash(), hull_merge_triangles(), idp_from_PyMapping(), IDP_ResizeIDPArray(), idp_sequence_type(), idp_str_append_escape(), image_save_options_init(), imb_exr_insert_view_name(), imb_exr_split_channel_name(), IMB_indexer_get_frame_index(), IMB_metadata_get_field(), IMB_thumb_load_font_get_hash(), info_statusbar_string(), init_track_for_stabilization(), btDefaultSerializer::initDNA(), insert_text_exec(), is_hidden_dot_filename(), is_track_clean(), join_dirfile_alloc(), lib_relocate_do_remap(), light_distribution_sample(), light_spread_clamp_area_light(), load_tex_cursor_task_cb(), load_tex_task_cb_ex(), M_Geometry_area_tri(), M_Geometry_box_pack_2d(), M_Geometry_intersect_line_line(), M_Interpolate_poly_3d_calc(), make_memhead_header(), make_structDNA(), map_to_sphere(), map_to_tube(), mathutils_array_hash(), mathutils_rna_vector_set(), md5_process_block(), mdisp_rot_face_to_crn(), mean_value_half_tan_v2_db(), mean_value_half_tan_v3(), MEM_guarded_calloc_arrayN(), MEM_guarded_callocN(), MEM_guarded_malloc_arrayN(), MEM_guarded_mallocN(), MEM_guarded_mallocN_aligned(), MEM_guarded_reallocN_id(), MEM_guarded_recallocN_id(), MEM_lockfree_calloc_arrayN(), MEM_lockfree_callocN(), MEM_lockfree_freeN(), MEM_lockfree_malloc_arrayN(), MEM_lockfree_mallocN(), MEM_lockfree_mallocN_aligned(), MEM_lockfree_reallocN_id(), MEM_lockfree_recallocN_id(), mesh_add_edges(), mesh_add_loops(), mesh_add_polys(), mesh_add_verts(), mesh_remove_edges(), mesh_remove_loops(), mesh_remove_polys(), mesh_remove_verts(), mesh_uv_reset_array(), meshdeform_ray_tree_intersect(), metadata_draw_imbuf(), metadata_get_field(), mm2a_mix_tail(), MOD_solidify_nonmanifold_modifyMesh(), motion_path_cache(), mywrite(), new_folder_path(), nlaedit_split_strip_actclip(), noise_table(), normalize(), normalize_m4(), normalize_m4_m4(), normalize_qt(), NormalizeSafe(), object_volume_density(), ObtainCacheParticleData(), oldreadcolrs(), operator_search_update_fn(), opj_seek_from_buffer(), outliner_buttons(), output_iris(), p_chart_boundaries(), p_chart_minimum_area_angle(), p_chart_symmetry_pins(), paint_stroke_line_constrain(), parse_int_range_relative_clamp_n(), passtype_from_name(), paste_selection(), path_ensure_slash(), point_calculate_handle(), poly_avg(), poly_norm(), pose_slide_apply_props(), pose_solve_ik_chain(), poselib_preview_handle_search(), precise_angle(), print_progress(), btSphereSphereCollisionAlgorithm::processCollision(), prop_subscript_ass_array_int(), btSoftBody::PSolve_Links(), psys_get_dupli_path_transform(), ptcache_file_compressed_read(), ptcache_filename(), ptcache_filename_ext_append(), ptcache_frame_from_filename(), GHOST_SystemWin32::putClipboard(), PyC_Tuple_PackArray_Bool(), PyC_Tuple_PackArray_F32(), PyC_Tuple_PackArray_F64(), PyC_Tuple_PackArray_I32(), PyC_Tuple_PackArray_I32FromBool(), pygpu_buffer_to_list(), pygpu_buffer_to_list_recursive(), pygpu_fill_format_sequence(), pygpu_matrix_scale(), pygpu_matrix_translate(), pygpu_texture__tp_new(), pygpu_vertbuf__tp_new(), pyrna_array_contains_py(), pyrna_deferred_register_class_recursive(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_array_ass_subscript(), pyrna_prop_array_iter(), pyrna_prop_array_subscript(), pyrna_prop_array_subscript_int(), pyrna_prop_collection_ass_subscript(), pyrna_prop_collection_ass_subscript_int(), pyrna_prop_collection_subscript(), pyrna_prop_collection_subscript_int(), pyrna_prop_str(), pyrna_py_from_array_index(), quad_from_tris(), Quaternion_angle_set(), Quaternion_axis_vector_set(), blender::bke::cryptomatte::manifest::quoted_string_len_(), radial_control_get_path(), ray_optical_depth(), read_pipe(), readtab(), repr_str(), btSolve2LinearConstraint::resolveBilateralPairConstraint(), btSolve2LinearConstraint::resolveUnilateralPairConstraint(), rna_array_as_string(), rna_array_as_string_alloc(), rna_array_as_string_elem(), RNA_def_boolean_array(), RNA_def_boolean_layer(), RNA_def_boolean_layer_member(), RNA_def_boolean_vector(), RNA_def_float_array(), RNA_def_float_color(), RNA_def_float_rotation(), RNA_def_float_translation(), RNA_def_float_vector(), RNA_def_float_vector_xyz(), RNA_def_int_array(), RNA_def_int_vector(), RNA_function_call_direct_va(), rna_function_parameter_parse(), rna_generate_property(), RNA_parameter_dynamic_length_get(), rna_parameter_size(), rna_path_parse_array_index(), rna_path_token(), RNA_property_animated(), rna_property_array_length_all_dimensions(), RNA_property_as_string(), RNA_property_boolean_get_default_index(), RNA_property_boolean_get_index(), RNA_property_boolean_set_index(), RNA_property_collection_clear(), RNA_property_collection_move(), RNA_property_collection_raw_get(), RNA_property_collection_raw_set(), RNA_property_collection_remove(), RNA_property_float_get_default_index(), RNA_property_float_get_index(), RNA_property_float_set_index(), RNA_property_int_get_default_index(), RNA_property_int_get_index(), RNA_property_int_set_index(), RNA_property_multi_array_length(), RNA_property_reset(), RNA_property_string_set_bytes(), rna_token_strip_quotes(), rotation_contribution(), rule_avoid_collision(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), SCULPT_brush_strength_factor(), sculpt_cloth_filter_modal(), sculpt_color_filter_modal(), sculpt_mask_by_color_contiguous_floodfill_cb(), sculpt_mask_by_color_delta_get(), sculpt_mask_expand_modal(), sculpt_mesh_filter_modal(), sculpt_pose_grow_pose_factor(), select_similar_length(), SEQ_transform_set_right_handle_frame(), sequencer_change_path_exec(), sequencer_image_seq_reserve_frames(), serializeDynamicsWorldInfo(), btMultiBodyDynamicsWorld::serializeMultiBodies(), btDefaultSerializer::serializeName(), serializeRigidBodies(), serializeSingleBvh(), serializeSingleShape(), serializeSingleTriangleInfoMap(), btSoftMultiBodyDynamicsWorld::serializeSoftBodies(), btSoftRigidDynamicsWorld::serializeSoftBodies(), session_print(), set_case(), setNearestAxis3d(), GHOST_WindowCocoa::setTitle(), single_scattering(), skin_choose_quad_bridge_order(), slide_dist(), sphere_do(), stencil_control_calculate(), str_tolower_titlecaps_ascii(), string_dup(), string_endswith(), string_startswith(), subsurface_random_walk(), subsurface_scatter_disk(), svm_node_camera(), svm_node_wireframe(), svm_vector_math(), svm_wave(), system_cpu_thread_count_fallback(), system_physical_ram(), TEST(), test_endian_zbuf(), text_autocomplete_build(), text_check_format_len(), text_convert_whitespace_exec(), text_cursor_set_to_pos_wrapped(), text_font_draw_character_utf8(), text_format_fill(), text_format_fill_ascii(), text_from_buf(), text_insert_invoke(), texttool_docs_show(), texttool_suggest_add(), blender::gpu::GLStateManager::texture_unpack_row_length_set(), textview_draw_string(), textview_wrap_offsets(), tracking_dopesheet_channels_segments_calc(), transform_decompose(), tri_to_quat(), triangle_area(), triangle_light_pdf(), trim(), txt_from_buf_for_undo(), txt_insert_buf(), txt_select_prefix(), txtfmt_ini_find_bool(), txtfmt_ini_find_keyword(), txtfmt_ini_find_reserved(), txtfmt_lua_find_bool(), txtfmt_lua_find_keyword(), txtfmt_lua_find_specialvar(), txtfmt_lua_format_line(), txtfmt_osl_find_builtinfunc(), txtfmt_osl_find_reserved(), txtfmt_osl_find_specialvar(), txtfmt_osl_format_line(), txtfmt_pov_find_bool(), txtfmt_pov_find_keyword(), txtfmt_pov_find_reserved_builtins(), txtfmt_pov_find_reserved_keywords(), txtfmt_pov_find_specialvar(), txtfmt_pov_format_line(), txtfmt_pov_ini_format_line(), txtfmt_py_find_bool(), txtfmt_py_find_builtinfunc(), txtfmt_py_find_specialvar(), txtfmt_py_format_line(), ui_block_calc_pie_segment(), ui_but_text_password_hide(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), UI_draw_text_underline(), UI_fontstyle_draw_ex(), ui_handle_list_event(), ui_item_array(), ui_item_name_add_colon(), ui_item_rna_size(), ui_layer_but_cb(), ui_number_from_string_factor(), ui_number_from_string_percentage(), ui_numedit_but_HSVCIRCLE(), ui_selectcontext_apply(), ui_text_clip_cursor(), ui_textedit_begin(), ui_textedit_delete(), ui_textedit_delete_selection(), ui_textedit_insert_buf(), ui_textedit_move(), uiItemFullR(), uilist_filter_items_default(), uilist_prepare(), uiTemplateImageInfo(), uiTemplateList(), uiTemplateMovieclipInformation(), undo_editmode_objects_from_view_layer_prepare(), unique_name(), unit_as_string(), unit_scale_str(), unpack_generate_paths(), blender::gpu::GLVertBuf::update_sub(), btSoftBody::updateNormals(), util_murmur_hash3(), uv_poly_copy_aspect(), Freestyle::V2Normalize(), Freestyle::V2Scale(), validate_array_length(), vec_to_quat(), WIDGETGROUP_gizmo_refresh(), wireframe(), wm_autosave_location(), wm_file_write(), WM_gesture_lasso_path_to_array(), wm_gizmomap_select_array_ensure_len_alloc(), wm_link_append_data_item_add(), wm_link_append_data_library_add(), wm_read_exotic(), Camera::world_to_raster_size(), writedata(), and writetab().
| uint len_alloc |
Definition at line 1146 of file uvedit_unwrap_ops.c.
Referenced by clg_str_vappendf(), and wm_gizmomap_select_array_ensure_len_alloc().
Definition at line 1918 of file uvedit_unwrap_ops.c.
Referenced by smart_project_exec(), and smart_uv_project_thickface_area_cmp_fn().