|
Blender V5.0
|
#include <cmath>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "DNA_defaults.h"#include "DNA_meshdata_types.h"#include "DNA_modifier_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BKE_global.hh"#include "BLI_array.hh"#include "BLI_linklist.h"#include "BLI_listbase.h"#include "BLI_math_geom.h"#include "BLI_math_matrix.h"#include "BLI_math_rotation.h"#include "BLI_math_vector.h"#include "BLI_memarena.h"#include "BLI_string_utf8.h"#include "BLI_time.h"#include "BLI_utildefines.h"#include "BLI_vector.hh"#include "BLT_translation.hh"#include "BKE_context.hh"#include "BKE_customdata.hh"#include "BKE_deform.hh"#include "BKE_editmesh.hh"#include "BKE_image.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_mesh.hh"#include "BKE_object_types.hh"#include "BKE_report.hh"#include "BKE_screen.hh"#include "BKE_subdiv.hh"#include "BKE_subdiv_mesh.hh"#include "BKE_subdiv_modifier.hh"#include "BKE_uvproject.h"#include "DEG_depsgraph.hh"#include "GEO_uv_pack.hh"#include "GEO_uv_parametrizer.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "ED_image.hh"#include "ED_mesh.hh"#include "ED_screen.hh"#include "ED_undo.hh"#include "ED_uvedit.hh"#include "ED_view3d.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_api.hh"#include "WM_types.hh"#include "uvedit_intern.hh"Go to the source code of this file.
Classes | |
| struct | UnwrapOptions |
| struct | MinStretch |
| struct | UVPackIslandsData |
| struct | ThickFace |
| struct | UV_FaceBranch |
| class | ParamHandle |
| struct | ParamSlimOptions |
Macros | |
| #define | PACK_ROTATE_METHOD_AXIS_ALIGNED_OFFSET 3 |
Typedefs | |
| using | ParamKey |
Functions | |
| static void | island_uv_transform (FaceIsland *island, const float matrix[2][2], const float pre_translate[2]) |
| static float | uv_nearest_image_tile_distance (const Image *image, const float coords[2], float nearest_tile_co[2]) |
| static float | uv_nearest_grid_tile_distance (const int udim_grid[2], const float coords[2], float nearest_tile_co[2]) |
| static bool | island_has_pins (const Scene *scene, const BMesh *bm, FaceIsland *island, const blender::geometry::UVPackIsland_Params *params) |
| static void | uvedit_pack_islands_multi (const Scene *scene, const Span< Object * > objects, BMesh **bmesh_override, const SpaceImage *udim_source_closest, const bool original_selection, const bool notify_wm, const rctf *custom_region, blender::geometry::UVPackIsland_Params *params) |
Utility Functions | |
| static bool | uvedit_ensure_uvs (Object *obedit) |
Shared Properties | |
| static void | uv_map_operator_property_correct_aspect (wmOperatorType *ot) |
Parametrizer Conversion | |
| static void | modifier_unwrap_state (Object *obedit, const UnwrapOptions *options, bool *r_use_subsurf) |
| static UnwrapOptions | unwrap_options_get (wmOperator *op, Object *ob, const ToolSettings *ts) |
| static bool | rna_property_sync_flag (PointerRNA *ptr, const char *prop_name, char flag, bool flipped, char *value_p) |
| static bool | rna_property_sync_enum (PointerRNA *ptr, const char *prop_name, int *value_p) |
| static bool | rna_property_sync_enum_char (PointerRNA *ptr, const char *prop_name, char *value_p) |
| static bool | rna_property_sync_int (PointerRNA *ptr, const char *prop_name, int *value_p) |
| static bool | rna_property_sync_float (PointerRNA *ptr, const char *prop_name, float *value_p) |
| static bool | rna_property_sync_string (PointerRNA *ptr, const char *prop_name, char value_p[]) |
| static void | unwrap_options_sync_toolsettings (wmOperator *op, ToolSettings *ts) |
| static bool | uvedit_have_selection (const Scene *scene, BMEditMesh *em, const UnwrapOptions *options) |
| static bool | uvedit_have_selection_multi (const Scene *scene, const Span< Object * > objects, const UnwrapOptions *options) |
| void | ED_uvedit_get_aspect_from_material (Object *ob, const int material_index, float *r_aspx, float *r_aspy) |
| void | ED_uvedit_get_aspect (Object *ob, float *r_aspx, float *r_aspy) |
| float | ED_uvedit_get_aspect_y (Object *ob) |
| static bool | uvedit_is_face_affected (const Scene *scene, const BMesh *bm, BMFace *efa, const UnwrapOptions *options, const BMUVOffsets &offsets) |
| static void | uvedit_prepare_pinned_indices (ParamHandle *handle, const Scene *scene, const BMesh *bm, BMFace *efa, const UnwrapOptions *options, const BMUVOffsets &offsets) |
| static void | construct_param_handle_face_add (ParamHandle *handle, const Scene *scene, const BMesh *bm, BMFace *efa, blender::geometry::ParamKey face_index, const UnwrapOptions *options, const BMUVOffsets &offsets, const int cd_weight_offset, const int cd_weight_index) |
| static void | construct_param_edge_set_seams (ParamHandle *handle, BMesh *bm, const UnwrapOptions *options) |
| static ParamHandle * | construct_param_handle (const Scene *scene, Object *ob, BMesh *bm, const UnwrapOptions *options, int *r_count_failed=nullptr) |
| static ParamHandle * | construct_param_handle_multi (const Scene *scene, const Span< Object * > objects, const UnwrapOptions *options) |
| static void | texface_from_original_index (const Scene *scene, const BMesh *bm, const BMUVOffsets &offsets, BMFace *efa, int index, float **r_uv, bool *r_pin, bool *r_select) |
| static Mesh * | subdivide_edit_mesh (const Object *object, const BMEditMesh *em, const SubsurfModifierData *smd) |
| static ParamHandle * | construct_param_handle_subsurfed (const Scene *scene, Object *ob, BMEditMesh *em, const UnwrapOptions *options, int *r_count_failed=nullptr) |
Minimize Stretch Operator | |
| 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 wmOperatorStatus | minimize_stretch_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | minimize_stretch_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static wmOperatorStatus | 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) |
Average UV Islands Scale Operator | |
| static wmOperatorStatus | average_islands_scale_exec (bContext *C, wmOperator *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 (const Scene *scene, const Span< Object * > objects, wmOperator *op, bool per_face_aspect, bool only_selected_uvs) |
Project UV From View Operator | |
| static wmOperatorStatus | uv_from_view_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | uv_from_view_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static bool | uv_from_view_poll (bContext *C) |
| void | UV_OT_project_from_view (wmOperatorType *ot) |
Reset UV Operator | |
| static wmOperatorStatus | reset_exec (bContext *C, wmOperator *) |
| void | UV_OT_reset (wmOperatorType *ot) |
Sphere UV Project Operator | |
| static void | uv_map_mirror (BMFace *efa, const bool *regular, const bool fan, const int cd_loop_uv_offset) |
| static float | uv_sphere_project (const Scene *scene, BMesh *bm, BMFace *efa_init, const float center[3], const float rotmat[3][3], const bool fan, const BMUVOffsets &offsets, const bool only_selected_uvs, const bool use_seams, const float branch_init) |
| static wmOperatorStatus | sphere_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_sphere_project (wmOperatorType *ot) |
Cylinder UV Project Operator | |
| static float | uv_cylinder_project (const Scene *scene, BMesh *bm, BMFace *efa_init, const float center[3], const float rotmat[3][3], const bool fan, const BMUVOffsets &offsets, const bool only_selected_uvs, const bool use_seams, const float branch_init) |
| static wmOperatorStatus | cylinder_project_exec (bContext *C, wmOperator *op) |
| void | UV_OT_cylinder_project (wmOperatorType *ot) |
Cube UV Project Operator | |
| static void | uvedit_unwrap_cube_project (const Scene *scene, BMesh *bm, float cube_size, const bool use_select, const bool only_selected_uvs, const float center[3]) |
| static wmOperatorStatus | 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 |
| enum | { PINCH = 0 , FAN = 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_transform (bContext *C, wmOperator *op, float rotmat[3][3]) |
| static void | uv_transform_properties (wmOperatorType *ot, int radius) |
| static void | shrink_loop_uv_by_aspect_ratio (BMFace *efa, const int cd_loop_uv_offset, const float aspect_y) |
| static void | correct_uv_aspect (Object *ob, BMEditMesh *em) |
| static void | correct_uv_aspect_per_face (Object *ob, BMEditMesh *em) |
Pack UV Islands Operator | |
| enum | { PACK_UDIM_SRC_CLOSEST = 0 , PACK_UDIM_SRC_ACTIVE , PACK_ORIGINAL_AABB , PACK_CUSTOM_REGION } |
| static const EnumPropertyItem | pack_margin_method_items [] |
| static const EnumPropertyItem | pack_rotate_method_items [] |
| static const EnumPropertyItem | pack_shape_method_items [] |
| static const EnumPropertyItem | pinned_islands_method_items [] |
| static void | pack_islands_startjob (void *pidv, wmJobWorkerStatus *worker_status) |
| static void | pack_islands_endjob (void *pidv) |
| static void | pack_islands_freejob (void *pidv) |
| static wmOperatorStatus | pack_islands_exec (bContext *C, wmOperator *op) |
| static void | uv_pack_islands_ui (bContext *, wmOperator *op) |
| static wmOperatorStatus | uv_pack_islands_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | UV_OT_pack_islands (wmOperatorType *ot) |
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, int *r_count_changed, int *r_count_failed) |
| static void | uvedit_unwrap_multi (const Scene *scene, const Span< Object * > objects, const UnwrapOptions *options, int *r_count_changed=nullptr, int *r_count_failed=nullptr) |
| void | ED_uvedit_live_unwrap (const Scene *scene, const Span< Object * > objects) |
| static wmOperatorStatus | unwrap_exec (bContext *C, wmOperator *op) |
| static void | unwrap_draw (bContext *, wmOperator *op) |
| void | UV_OT_unwrap (wmOperatorType *ot) |
Live UV Unwrap | |
| struct { | |
| ParamHandle ** handles | |
| uint len | |
| uint len_alloc | |
| wmTimer * timer | |
| } | g_live_unwrap = {nullptr} |
| bool | ED_uvedit_live_unwrap_timer_check (const wmTimer *timer) |
| static bool | uvedit_live_unwrap_timer_validate (const wmWindowManager *wm) |
| void | ED_uvedit_live_unwrap_begin (Scene *scene, Object *obedit, wmWindow *win_modal) |
| void | ED_uvedit_live_unwrap_re_solve () |
| void | ED_uvedit_live_unwrap_end (const bool cancel) |
Smart UV Project Operator | |
| 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 blender::Vector< blender::float3 > | 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) |
| static wmOperatorStatus | smart_project_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | smart_project_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | UV_OT_smart_project (wmOperatorType *ot) |
| #define ALIGN_TO_OBJECT 2 |
Definition at line 2265 of file uvedit_unwrap_ops.cc.
Referenced by uv_map_transform(), and uv_transform_properties().
| #define PACK_ROTATE_METHOD_AXIS_ALIGNED_OFFSET 3 |
Referenced by UV_OT_smart_project().
| #define POLAR_ZX 0 |
Definition at line 2267 of file uvedit_unwrap_ops.cc.
Referenced by uv_transform_properties().
| #define POLAR_ZY 1 |
Definition at line 2268 of file uvedit_unwrap_ops.cc.
Referenced by uv_map_transform(), and uv_transform_properties().
| #define VIEW_ON_EQUATOR 0 |
Definition at line 2263 of file uvedit_unwrap_ops.cc.
Referenced by uv_map_transform(), and uv_transform_properties().
| #define VIEW_ON_POLES 1 |
Definition at line 2264 of file uvedit_unwrap_ops.cc.
Referenced by uv_transform_properties().
Definition at line 31 of file GEO_uv_parametrizer.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| PACK_UDIM_SRC_CLOSEST | |
| PACK_UDIM_SRC_ACTIVE | |
| PACK_ORIGINAL_AABB | |
| PACK_CUSTOM_REGION | |
Definition at line 1680 of file uvedit_unwrap_ops.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| UNWRAP_ERROR_NONUNIFORM | |
| UNWRAP_ERROR_NEGATIVE | |
Definition at line 2817 of file uvedit_unwrap_ops.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| PINCH | |
| FAN | |
Definition at line 2270 of file uvedit_unwrap_ops.cc.
|
static |
Definition at line 2057 of file uvedit_unwrap_ops.cc.
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(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, options, wmOperator::ptr, RNA_boolean_get(), Scene::toolsettings, BMesh::totvertsel, unwrap_options_get(), ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, blender::geometry::uv_parametrizer_average(), blender::geometry::uv_parametrizer_flush(), uvedit_have_selection_multi(), and WM_event_add_notifier().
Referenced by UV_OT_average_islands_scale().
|
static |
Definition at line 642 of file uvedit_unwrap_ops.cc.
References bm, BM_EDGES_OF_MESH, BM_ELEM_CD_GET_FLOAT_P, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SEAM, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_EDGE, BM_uv_map_offsets_get(), l, options, BMUVOffsets::uv, blender::geometry::uv_find_pin_index(), and blender::geometry::uv_parametrizer_edge_set_seam().
Referenced by construct_param_handle(), and construct_param_handle_multi().
|
static |
Definition at line 684 of file uvedit_unwrap_ops.cc.
References BKE_object_defgroup_name_index(), bm, BM_FACES_OF_MESH, BM_ITER_MESH_INDEX, BM_mesh_elem_index_ensure(), BM_uv_map_offsets_get(), BM_VERT, CD_MDEFORMVERT, construct_param_edge_set_seams(), construct_param_handle_face_add(), CustomData_get_offset(), ED_uvedit_get_aspect_y(), i, options, blender::geometry::uv_parametrizer_aspect_ratio(), blender::geometry::uv_parametrizer_construct_end(), uvedit_is_face_affected(), and uvedit_prepare_pinned_indices().
Referenced by ED_uvedit_live_unwrap_begin(), and uvedit_unwrap().
|
static |
Definition at line 584 of file uvedit_unwrap_ops.cc.
References BKE_defvert_find_weight(), bm, BM_ELEM_CD_GET_BOOL, BM_ELEM_CD_GET_FLOAT_P, BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, blender::Array< T, InlineBufferCapacity, Allocator >::data(), i, l, BMFace::len, options, BMUVOffsets::pin, select, BMUVOffsets::uv, blender::geometry::uv_find_pin_index(), blender::geometry::uv_parametrizer_face_add(), and uvedit_uv_select_test().
Referenced by construct_param_handle(), and construct_param_handle_multi().
|
static |
Version of construct_param_handle that handles multiple objects.
Definition at line 731 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BKE_object_defgroup_name_index(), bm, BMEditMesh::bm, BM_FACES_OF_MESH, BM_ITER_MESH_INDEX, BM_uv_map_offsets_get(), BM_VERT, CD_MDEFORMVERT, construct_param_edge_set_seams(), construct_param_handle_face_add(), CustomData_get_offset(), ED_uvedit_get_aspect_y(), EDBM_mesh_elem_index_ensure_multi(), i, options, BMUVOffsets::uv, blender::geometry::uv_parametrizer_aspect_ratio(), blender::geometry::uv_parametrizer_construct_end(), uvedit_is_face_affected(), and uvedit_prepare_pinned_indices().
Referenced by average_islands_scale_exec(), and minimize_stretch_init().
|
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 864 of file uvedit_unwrap_ops.cc.
References BKE_defvert_find_weight(), BKE_id_free(), BKE_object_defgroup_name_index(), 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_uv_map_offsets_get(), BM_VERT, CD_ORIGINDEX, CustomData_get_layer(), ED_uvedit_get_aspect_y(), Mesh::edge_data, Mesh::edges_num, Mesh::face_data, faceMap, Mesh::faces_num, ListBase::first, SubsurfModifierData::flags, i, blender::offset_indices::OffsetIndices< T >::index_range(), blender::Span< T >::index_range(), SubsurfModifierData::levels, MEM_freeN(), MEM_malloc_arrayN(), Object::modifiers, options, ORIGINDEX_NONE, SubsurfModifierData::quality, select, blender::Span< T >::size(), blender::Span< T >::slice(), subdivide_edit_mesh(), SubsurfModifierData::subdivType, texface_from_original_index(), Scene::toolsettings, ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, blender::geometry::uv_parametrizer_aspect_ratio(), blender::geometry::uv_parametrizer_construct_end(), blender::geometry::uv_parametrizer_edge_set_seam(), blender::geometry::uv_parametrizer_face_add(), and Mesh::vert_data.
Referenced by ED_uvedit_live_unwrap_begin(), and uvedit_unwrap().
|
static |
Definition at line 2526 of file uvedit_unwrap_ops.cc.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_MESH, CD_PROP_FLOAT2, CustomData_get_offset(), ED_uvedit_get_aspect_y(), BMesh::ldata, and shrink_loop_uv_by_aspect_ratio().
Referenced by uv_map_clip_correct().
|
static |
Definition at line 2543 of file uvedit_unwrap_ops.cc.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_MESH, CD_PROP_FLOAT2, CustomData_get_offset(), ED_uvedit_get_aspect_from_material(), BMesh::ldata, BMFace::mat_nr, shrink_loop_uv_by_aspect_ratio(), Object::totcol, and UNLIKELY.
Referenced by uv_map_clip_correct().
|
static |
Definition at line 4231 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BMEditMesh::bm, bounds(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), float, ID_RECALC_GEOMETRY, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), max_fff(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_property_float_get(), RNA_property_float_set(), RNA_property_is_set(), RNA_struct_find_property(), sub_v3_v3v3(), BMesh::totfacesel, UNPACK3, uv_map_clip_correct(), uv_map_transform_center(), uvedit_ensure_uvs(), uvedit_unwrap_cube_project(), and WM_event_add_notifier().
Referenced by UV_OT_cube_project().
|
static |
Definition at line 4083 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), BM_uv_map_offsets_get(), C, ceilf, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, max_ff(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), BMesh::totfacesel, uv_cylinder_project(), uv_map_clip_correct(), uv_map_transform(), uv_map_transform_center(), uvedit_ensure_uvs(), uvedit_face_select_disable(), uvedit_face_select_test(), and WM_event_add_notifier().
Referenced by UV_OT_cylinder_project().
Definition at line 4327 of file uvedit_unwrap_ops.cc.
References bm, bm_mesh_allocsize_default, BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_create(), BM_mesh_free(), BMeshFromMeshParams::calc_face_normal, BMeshFromMeshParams::calc_vert_normal, Object::data, ED_mesh_uv_ensure(), ED_uvedit_select_all(), ED_UVPACK_MARGIN_SCALED, ED_UVPACK_ROTATION_ANY, params, Scene::toolsettings, BMeshCreateParams::use_toolflags, ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, uvedit_pack_islands_multi(), and uvedit_unwrap_cube_project().
Referenced by add_simple_uvs_exec().
Definition at line 509 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, BM_mesh_active_face_get(), ED_uvedit_get_aspect_from_material(), and BMFace::mat_nr.
Referenced by ED_uvedit_get_aspect_y(), and uv_rip_exec().
| void ED_uvedit_get_aspect_from_material | ( | Object * | ob, |
| const int | material_index, | ||
| float * | r_aspx, | ||
| float * | r_aspy ) |
Definition at line 494 of file uvedit_unwrap_ops.cc.
References ED_image_get_uv_aspect(), ED_object_get_active_image(), Object::totcol, and UNLIKELY.
Referenced by correct_uv_aspect_per_face(), and ED_uvedit_get_aspect().
Return the X / Y aspect (wider aspects are over 1, taller are below 1). Apply this aspect by multiplying with the Y axis (X aspect is always 1 & unchanged).
Definition at line 525 of file uvedit_unwrap_ops.cc.
References ED_uvedit_get_aspect().
Referenced by construct_param_handle(), construct_param_handle_multi(), construct_param_handle_subsurfed(), correct_uv_aspect(), stitch_init(), uv_shortest_path_pick_exec(), uv_shortest_path_pick_invoke(), uv_shortest_path_select_exec(), and uvedit_pack_islands_multi().
Definition at line 2795 of file uvedit_unwrap_ops.cc.
References ED_UVPACK_MARGIN_SCALED, ED_UVPACK_PIN_IGNORE, ED_UVPACK_ROTATION_ANY, ToolSettings::edge_mode_live_unwrap, blender::geometry::UVPackIsland_Params::margin, blender::geometry::UVPackIsland_Params::margin_method, options, blender::geometry::UVPackIsland_Params::pin_method, blender::geometry::UVPackIsland_Params::rotate_method, blender::geometry::UVPackIsland_Params::setFromUnwrapOptions(), Scene::toolsettings, unwrap_options_get(), ToolSettings::uvcalc_margin, uvedit_pack_islands_multi(), and uvedit_unwrap_multi().
| win_modal | Support interactive (modal) unwrapping that updates with a timer. |
Definition at line 2154 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BLI_assert, BMEditMesh::bm, construct_param_handle(), construct_param_handle_subsurfed(), ED_uvedit_test(), g_live_unwrap, G_MAIN, MEM_malloc_arrayN(), MEM_reallocN, options, TIMER, Scene::toolsettings, unwrap_options_get(), blender::geometry::uv_parametrizer_lscm_begin(), blender::geometry::uv_parametrizer_slim_live_begin(), uvedit_live_unwrap_timer_validate(), and WM_event_timer_add().
Referenced by blender::ed::transform::createTransUVs(), uv_sculpt_stroke_init(), and uvedit_live_unwrap_update().
| void ED_uvedit_live_unwrap_end | ( | const bool | cancel | ) |
Definition at line 2224 of file uvedit_unwrap_ops.cc.
References g_live_unwrap, G_MAIN, i, MEM_freeN(), blender::geometry::uv_parametrizer_flush_restore(), blender::geometry::uv_parametrizer_is_slim(), blender::geometry::uv_parametrizer_lscm_end(), blender::geometry::uv_parametrizer_slim_live_end(), uvedit_live_unwrap_timer_validate(), and WM_event_timer_remove().
Referenced by blender::ed::transform::postTrans(), uv_sculpt_stroke_exit(), and uvedit_live_unwrap_update().
| void ED_uvedit_live_unwrap_re_solve | ( | ) |
Definition at line 2208 of file uvedit_unwrap_ops.cc.
References g_live_unwrap, i, blender::geometry::uv_parametrizer_flush(), blender::geometry::uv_parametrizer_is_slim(), blender::geometry::uv_parametrizer_lscm_solve(), and blender::geometry::uv_parametrizer_slim_live_solve_iteration().
Referenced by blender::ed::transform::recalcData_uv(), uv_sculpt_stroke_apply(), and uvedit_live_unwrap_update().
| bool ED_uvedit_live_unwrap_timer_check | ( | const wmTimer * | timer | ) |
Return true if the timer is managed by live-unwrap.
Definition at line 2130 of file uvedit_unwrap_ops.cc.
References g_live_unwrap, and timer.
Referenced by blender::ed::transform::transformEvent().
|
static |
Definition at line 1407 of file uvedit_unwrap_ops.cc.
References bm, BM_ELEM_CD_GET_BOOL, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_ELEM, BM_LOOPS_OF_FACE, FaceIsland::faces, FaceIsland::faces_len, i, l, FaceIsland::offsets, params, BMUVOffsets::pin, and uvedit_uv_select_test().
Referenced by uvedit_pack_islands_multi().
|
static |
Definition at line 1326 of file uvedit_unwrap_ops.cc.
References BM_ELEM_CD_GET_FLOAT_P, BM_ITER_ELEM, BM_LOOPS_OF_FACE, FaceIsland::faces, FaceIsland::faces_len, i, l, blender::geometry::mul_v2_m2_add_v2v2(), FaceIsland::offsets, and BMUVOffsets::uv.
Referenced by uvedit_pack_islands_multi().
|
static |
Definition at line 1277 of file uvedit_unwrap_ops.cc.
References C, and minimize_stretch_exit().
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 1185 of file uvedit_unwrap_ops.cc.
References C, i, 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 1145 of file uvedit_unwrap_ops.cc.
References 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, NC_GEOM, ND_DATA, MinStretch::objects_edit, MinStretch::timer, Scene::toolsettings, BMesh::totfacesel, ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, blender::geometry::uv_parametrizer_flush(), blender::geometry::uv_parametrizer_flush_restore(), blender::geometry::uv_parametrizer_stretch_end(), WM_event_add_notifier(), and WM_event_timer_remove().
Referenced by minimize_stretch_cancel(), minimize_stretch_exec(), and minimize_stretch_modal().
|
static |
Definition at line 1067 of file uvedit_unwrap_ops.cc.
References BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs(), MinStretch::blend, BLI_time_now_seconds(), 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, MinStretch::objects_edit, options, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), RNA_int_get(), MinStretch::scene, blender::geometry::uv_parametrizer_stretch_begin(), blender::geometry::uv_parametrizer_stretch_blend(), and uvedit_have_selection_multi().
Referenced by minimize_stretch_exec(), and minimize_stretch_invoke().
|
static |
Definition at line 1202 of file uvedit_unwrap_ops.cc.
References C, CTX_wm_manager(), CTX_wm_window(), wmOperator::customdata, minimize_stretch_init(), minimize_stretch_iteration(), OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, TIMER, MinStretch::timer, WM_event_add_modal_handler(), and WM_event_timer_add().
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 1105 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), MinStretch::blend, BLI_time_now_seconds(), 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, IFACE_, MinStretch::lasttime, NC_GEOM, ND_DATA, MinStretch::objects_edit, wmOperator::ptr, RNA_int_set(), SNPRINTF_UTF8, str, Scene::toolsettings, BMesh::totfacesel, UI_MAX_DRAW_STR, ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, blender::geometry::uv_parametrizer_flush(), blender::geometry::uv_parametrizer_stretch_blend(), blender::geometry::uv_parametrizer_stretch_iter(), and WM_event_add_notifier().
Referenced by minimize_stretch_exec(), minimize_stretch_invoke(), and minimize_stretch_modal().
|
static |
Definition at line 1219 of file uvedit_unwrap_ops.cc.
References MinStretch::blend, BLI_time_now_seconds(), C, wmEvent::customdata, wmOperator::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, wmOperator::ptr, RIGHTMOUSE, RNA_float_set(), TIMER, MinStretch::timer, wmEvent::type, wmEvent::val, WHEELDOWNMOUSE, and WHEELUPMOUSE.
Referenced by UV_OT_minimize_stretch().
|
static |
Definition at line 224 of file uvedit_unwrap_ops.cc.
References eModifierType_Subsurf, ListBase::first, SubsurfModifierData::levels, Object::modifiers, options, and ModifierData::type.
Referenced by unwrap_exec(), unwrap_options_get(), and uvedit_unwrap().
|
static |
Definition at line 1728 of file uvedit_unwrap_ops.cc.
References Object::data, DEG_id_tag_update(), ED_undo_push(), ID_RECALC_GEOMETRY, NC_GEOM, NC_SPACE, ND_DATA, ND_SPACE_IMAGE, UVPackIslandsData::objects, UVPackIslandsData::undo_context, UVPackIslandsData::undo_str, and WM_main_add_notifier().
Referenced by pack_islands_exec().
|
static |
Definition at line 1750 of file uvedit_unwrap_ops.cc.
References BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), CTX_wm_space_image(), CTX_wm_view3d(), CTX_wm_window(), UVPackIslandsData::custom_region, ED_UVPACK_PIN_NONE, ED_UVPACK_ROTATION_NONE, wmOperator::flag, G, blender::geometry::UVPackIsland_Params::margin, blender::geometry::UVPackIsland_Params::margin_method, blender::geometry::UVPackIsland_Params::merge_overlap, wmOperatorType::name, UVPackIslandsData::objects, OP_IS_INVOKE, wmWindowManager::op_undo_depth, OPERATOR_CANCELLED, OPERATOR_FINISHED, options, PACK_CUSTOM_REGION, UVPackIslandsData::pack_island_params, pack_islands_endjob(), pack_islands_freejob(), pack_islands_startjob(), PACK_UDIM_SRC_ACTIVE, blender::geometry::UVPackIsland_Params::pin_method, wmOperator::ptr, REGION_DRAW_LOCK_RENDER, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RNA_float_set(), RNA_struct_property_is_set(), blender::geometry::UVPackIsland_Params::rotate_method, blender::geometry::UVPackIsland_Params::scale_to_fit, UVPackIslandsData::scene, blender::geometry::UVPackIsland_Params::setFromUnwrapOptions(), blender::geometry::UVPackIsland_Params::setUDIMOffsetFromSpaceImage(), blender::geometry::UVPackIsland_Params::shape_method, UVPackIslandsData::sima, Scene::toolsettings, wmOperator::type, UVPackIslandsData::udim_source, UVPackIslandsData::undo_context, UVPackIslandsData::undo_str, unwrap_options_get(), UVPackIslandsData::use_job, ToolSettings::uv_custom_region, ToolSettings::uv_flag, UV_FLAG_CUSTOM_REGION, ToolSettings::uvcalc_margin, uvedit_have_selection_multi(), UVPackIslandsData::wm, WM_cursor_wait(), WM_JOB_PROGRESS, WM_JOB_TYPE_UV_PACK, WM_jobs_callbacks(), WM_jobs_customdata_set(), WM_jobs_get(), WM_jobs_start(), WM_jobs_timer(), WM_locked_interface_set_with_flags(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by UV_OT_pack_islands().
|
static |
Definition at line 1742 of file uvedit_unwrap_ops.cc.
References UVPackIslandsData::wm, WM_cursor_wait(), and WM_locked_interface_set().
Referenced by pack_islands_exec().
|
static |
Definition at line 1704 of file uvedit_unwrap_ops.cc.
References UVPackIslandsData::custom_region, blender::geometry::UVPackIsland_Params::do_update, wmJobWorkerStatus::do_update, UVPackIslandsData::objects, PACK_CUSTOM_REGION, UVPackIslandsData::pack_island_params, PACK_ORIGINAL_AABB, PACK_UDIM_SRC_CLOSEST, blender::geometry::UVPackIsland_Params::progress, wmJobWorkerStatus::progress, UVPackIslandsData::scene, UVPackIslandsData::sima, blender::geometry::UVPackIsland_Params::stop, wmJobWorkerStatus::stop, UVPackIslandsData::udim_source, UVPackIslandsData::use_job, and uvedit_pack_islands_multi().
Referenced by pack_islands_exec().
|
static |
Definition at line 3650 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BMEditMesh::bm, C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_mesh_uv_loop_reset(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, BMesh::totfacesel, uvedit_ensure_uvs(), and WM_event_add_notifier().
|
static |
Definition at line 350 of file uvedit_unwrap_ops.cc.
References BLI_assert_unreachable, ptr, RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by rna_property_sync_enum_char().
|
static |
Definition at line 364 of file uvedit_unwrap_ops.cc.
References ptr, and rna_property_sync_enum().
Referenced by unwrap_options_sync_toolsettings().
|
static |
Definition at line 330 of file uvedit_unwrap_ops.cc.
References BLI_assert_unreachable, flag, ptr, RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by unwrap_options_sync_toolsettings().
|
static |
Definition at line 388 of file uvedit_unwrap_ops.cc.
References BLI_assert_unreachable, ptr, RNA_property_float_get(), RNA_property_float_set(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by unwrap_options_sync_toolsettings().
|
static |
Definition at line 374 of file uvedit_unwrap_ops.cc.
References BLI_assert_unreachable, ptr, RNA_property_int_get(), RNA_property_int_set(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by unwrap_options_sync_toolsettings().
|
static |
Definition at line 402 of file uvedit_unwrap_ops.cc.
References BLI_assert_unreachable, ptr, RNA_property_is_set(), RNA_property_string_get(), RNA_property_string_set(), and RNA_struct_find_property().
Referenced by unwrap_options_sync_toolsettings().
|
static |
Definition at line 2504 of file uvedit_unwrap_ops.cc.
References BLI_assert, BM_ELEM_CD_GET_FLOAT_P, BM_ITER_ELEM, BM_LOOPS_OF_FACE, and l.
Referenced by correct_uv_aspect(), and correct_uv_aspect_per_face().
|
static |
Definition at line 3214 of file uvedit_unwrap_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), 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_FLOAT_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, BM_uv_map_offsets_get(), C, cosf, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), dot_v3v3(), ThickFace::efa, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), l, MEM_callocN(), MEM_freeN(), MEM_malloc_arrayN(), mul_v2_m3v3(), LinkNode::next, BMFace::no, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), smart_uv_project_area_ignore, smart_uv_project_calculate_project_normals(), smart_uv_project_thickface_area_cmp_fn(), Scene::toolsettings, BMesh::totface, BMUVOffsets::uv, uv_map_clip_correct(), ToolSettings::uvcalc_margin, uvedit_ensure_uvs(), uvedit_face_select_disable(), uvedit_face_select_test(), uvedit_pack_islands_multi(), and zero_v2().
Referenced by UV_OT_smart_project().
|
static |
Definition at line 3393 of file uvedit_unwrap_ops.cc.
References C, IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by UV_OT_smart_project().
|
static |
Definition at line 3117 of file uvedit_unwrap_ops.cc.
References add_v3_v3(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), ThickFace::area, bm, BM_elem_flag_enable, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_disable_all(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), dot_v3v3(), ThickFace::efa, madd_v3_v3fl(), max_ff(), BMFace::no, normalize_v3(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and UNLIKELY.
Referenced by smart_project_exec().
|
static |
Definition at line 3095 of file uvedit_unwrap_ops.cc.
References ThickFace::area, and smart_uv_project_area_ignore.
Referenced by smart_project_exec().
|
static |
Definition at line 3905 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BMEditMesh::bm, BM_ELEM_TAG, BM_FACE, BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), BM_uv_map_offsets_get(), C, ceilf, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), DEG_id_tag_update(), ID_RECALC_GEOMETRY, max_ff(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), BMesh::totfacesel, uv_map_clip_correct(), uv_map_transform(), uv_map_transform_center(), uv_sphere_project(), uvedit_ensure_uvs(), and WM_event_add_notifier().
Referenced by UV_OT_sphere_project().
|
static |
Definition at line 826 of file uvedit_unwrap_ops.cc.
References BKE_id_free(), BKE_mesh_ensure_default_orig_index_customdata(), BKE_mesh_from_bmesh_for_eval_nomain(), BKE_subsurf_modifier_settings_init(), BLI_assert, BMEditMesh::bm, Object::data, eSubsurfModifierFlag_ControlEdges, SubsurfModifierData::flags, blender::bke::subdiv::free(), blender::bke::subdiv::Settings::level, SubsurfModifierData::levels, blender::bke::subdiv::new_from_mesh(), blender::bke::subdiv::ToMeshSettings::resolution, result, blender::bke::subdiv::subdiv_to_mesh(), and blender::bke::subdiv::ToMeshSettings::use_optimal_display.
Referenced by construct_param_handle_subsurfed().
|
static |
Definition at line 795 of file uvedit_unwrap_ops.cc.
References bm, BM_ELEM_CD_GET_BOOL, BM_ELEM_CD_GET_FLOAT_P, BM_elem_index_get, BM_ITER_ELEM, BM_LOOPS_OF_FACE, l, ORIGINDEX_NONE, BMUVOffsets::pin, BMUVOffsets::uv, and uvedit_uv_select_test().
Referenced by construct_param_handle_subsurfed().
|
static |
Definition at line 2941 of file uvedit_unwrap_ops.cc.
References col, uiLayout::column(), wmOperator::layout, wmOperator::properties, ptr, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_pointer_create_discrete(), wmOperatorType::srna, wmOperator::type, UI_ITEM_NONE, uiLayout::use_property_decorate_set(), uiLayout::use_property_split_set(), and UVCALC_UNWRAP_METHOD_MINIMUM_STRETCH.
Referenced by UV_OT_unwrap().
|
static |
Definition at line 2822 of file uvedit_unwrap_ops.cc.
References BKE_report(), BKE_reportf(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), ED_UVPACK_PIN_IGNORE, ED_UVPACK_ROTATION_ANY, fabsf, is_negative_m4(), blender::geometry::UVPackIsland_Params::margin, blender::geometry::UVPackIsland_Params::margin_method, mat4_to_size(), modifier_unwrap_state(), OPERATOR_CANCELLED, OPERATOR_FINISHED, options, blender::geometry::UVPackIsland_Params::pin_method, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_float_get(), blender::geometry::UVPackIsland_Params::rotate_method, RPT_INFO, RPT_WARNING, blender::geometry::UVPackIsland_Params::setFromUnwrapOptions(), Scene::toolsettings, UNWRAP_ERROR_NEGATIVE, UNWRAP_ERROR_NONUNIFORM, unwrap_options_get(), unwrap_options_sync_toolsettings(), ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, uvedit_ensure_uvs(), uvedit_have_selection_multi(), uvedit_pack_islands_multi(), and uvedit_unwrap_multi().
Referenced by UV_OT_unwrap().
|
static |
Definition at line 255 of file uvedit_unwrap_ops.cc.
References BKE_report(), modifier_unwrap_state(), options, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RNA_int_get(), RNA_string_get(), RPT_WARNING, STRNCPY_UTF8, ToolSettings::unwrapper, UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, ToolSettings::uvcalc_iterations, UVCALC_NO_ASPECT_CORRECT, UVCALC_UNWRAP_METHOD_ANGLE, UVCALC_UNWRAP_METHOD_CONFORMAL, UVCALC_UNWRAP_METHOD_MINIMUM_STRETCH, UVCALC_UNWRAP_NO_FLIP, UVCALC_UNWRAP_USE_WEIGHTS, UVCALC_USESUBSURF, ToolSettings::uvcalc_weight_factor, and ToolSettings::uvcalc_weight_group.
Referenced by average_islands_scale_exec(), ED_uvedit_live_unwrap(), ED_uvedit_live_unwrap_begin(), pack_islands_exec(), and unwrap_exec().
|
static |
Definition at line 416 of file uvedit_unwrap_ops.cc.
References wmOperator::ptr, rna_property_sync_enum_char(), rna_property_sync_flag(), rna_property_sync_float(), rna_property_sync_int(), rna_property_sync_string(), ToolSettings::unwrapper, UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, ToolSettings::uvcalc_iterations, ToolSettings::uvcalc_margin, UVCALC_NO_ASPECT_CORRECT, UVCALC_UNWRAP_NO_FLIP, UVCALC_UNWRAP_USE_WEIGHTS, UVCALC_USESUBSURF, ToolSettings::uvcalc_weight_factor, and ToolSettings::uvcalc_weight_group.
Referenced by unwrap_exec().
|
static |
Definition at line 3996 of file uvedit_unwrap_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), bm, BM_ELEM_CD_GET_FLOAT_P, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACES_OF_EDGE, BM_ITER_ELEM, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, UV_FaceBranch::branch, ceilf, blender::Array< T, InlineBufferCapacity, Allocator >::data(), UV_FaceBranch::efa, i, l, BMFace::len, map_to_tube(), max_ff(), mul_m3_v3(), blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), sub_v3_v3v3(), BMUVOffsets::uv, uv_map_mirror(), uvedit_face_select_disable(), and uvedit_face_select_test().
Referenced by cylinder_project_exec().
|
static |
Definition at line 3491 of file uvedit_unwrap_ops.cc.
References add_v4_v4(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_editmesh_from_object(), BKE_uvproject_camera_info(), BKE_uvproject_camera_info_free(), BKE_uvproject_from_camera(), BKE_uvproject_from_view(), BKE_uvproject_from_view_ortho(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BMEditMesh::bm, BM_ELEM_CD_GET_FLOAT_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_PROP_FLOAT2, copy_m4_m4(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_region_view3d(), CTX_wm_view3d(), CustomData_get_offset(), DEG_id_tag_update(), ED_view3d_camera_data_get(), ID_RECALC_GEOMETRY, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), l, BMesh::ldata, mul_v4_fl(), NC_GEOM, ND_DATA, negate_v4_v4(), OPERATOR_CANCELLED, OPERATOR_FINISHED, RegionView3D::persmat, wmOperator::ptr, Scene::r, RNA_boolean_get(), uv_map_clip_correct(), uv_map_rotation_matrix_ex(), uvedit_ensure_uvs(), 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 3472 of file uvedit_unwrap_ops.cc.
References C, CTX_wm_region_view3d(), CTX_wm_view3d(), ED_view3d_camera_data_get(), 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 3609 of file uvedit_unwrap_ops.cc.
References C, CTX_wm_region_view3d(), and ED_operator_uvmap().
Referenced by UV_OT_project_from_view().
|
static |
| per_face_aspect | Calculate the aspect ratio per-face, otherwise use a single aspect for all UVs based on the material of the active face. TODO: using per-face aspect may split UV islands so more advanced UV projection methods such as "Unwrap" & "Smart UV Projections" will need to handle aspect correction themselves. For now keep using a single aspect for all faces in this case. |
Definition at line 2629 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_ELEM_CD_GET_FLOAT_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_uv_map_offsets_get(), clamp_v2(), correct_uv_aspect(), correct_uv_aspect_per_face(), INIT_MINMAX2, l, max, min, minmax_v2v2_v2(), wmOperator::ptr, RNA_boolean_get(), RNA_struct_find_property(), BMUVOffsets::uv, and uvedit_face_select_test().
Referenced by cube_project_exec(), cylinder_project_exec(), smart_project_exec(), sphere_project_exec(), and uv_from_view_exec().
|
static |
Definition at line 2617 of file uvedit_unwrap_ops.cc.
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 2599 of file uvedit_unwrap_ops.cc.
References ot, RNA_def_boolean(), and uv_map_operator_property_correct_aspect().
Referenced by uv_map_clip_correct_properties(), and UV_OT_smart_project().
|
static |
Definition at line 3700 of file uvedit_unwrap_ops.cc.
References BM_ELEM_CD_GET_FLOAT_P, BM_ITER_ELEM, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, ELEM, i, l, BMFace::len, max_ff(), min_ff(), and sum().
Referenced by uv_cylinder_project(), and uv_sphere_project().
|
static |
Definition at line 129 of file uvedit_unwrap_ops.cc.
References ot, and RNA_def_boolean().
Referenced by uv_map_clip_correct_properties_ex(), and UV_OT_unwrap().
|
static |
Definition at line 2361 of file uvedit_unwrap_ops.cc.
References add_v4_v4(), copy_m4_m4(), cosf, float, M_PI, mul_m4_series, result, sinf, unit_m4(), RegionView3D::viewmat, zero_m4(), and zero_v3().
Referenced by uv_from_view_exec(), and uv_map_transform().
|
static |
Definition at line 2415 of file uvedit_unwrap_ops.cc.
References ALIGN_TO_OBJECT, C, copy_m3_m4(), CTX_data_edit_object(), CTX_wm_region_view3d(), POLAR_ZY, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), RNA_struct_find_property(), unit_m3(), uv_map_rotation_matrix_ex(), and VIEW_ON_EQUATOR.
Referenced by cylinder_project_exec(), and sphere_project_exec().
|
static |
Definition at line 2275 of file uvedit_unwrap_ops.cc.
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 2287 of file uvedit_unwrap_ops.cc.
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, mul_v3_fl(), and zero_v3().
Referenced by uv_map_transform_center().
|
static |
Definition at line 2304 of file uvedit_unwrap_ops.cc.
References ATTR_FALLTHROUGH, BMEditMesh::bm, BM_editselection_center(), BM_select_history_active_get(), bounds(), copy_v3_v3(), Scene::cursor, INIT_MINMAX, invert_m4_m4(), View3DCursor::location, mid_v3_v3v3(), mul_v3_m4v3(), Object::runtime, 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().
|
static |
Calculates distance to nearest UDIM grid tile in UV space and its UDIM tile number.
Definition at line 1374 of file uvedit_unwrap_ops.cc.
References add_v2_fl(), floorf, and len_squared_v2v2().
Referenced by uvedit_pack_islands_multi().
|
static |
Calculates distance to nearest UDIM image tile in UV space and its UDIM tile number.
Definition at line 1358 of file uvedit_unwrap_ops.cc.
References add_v2_fl(), BKE_image_find_nearest_tile_with_offset(), and len_squared_v2v2().
Referenced by uvedit_pack_islands_multi().
| void UV_OT_average_islands_scale | ( | wmOperatorType * | ot | ) |
Definition at line 2100 of file uvedit_unwrap_ops.cc.
References average_islands_scale_exec(), ED_operator_uvedit(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_cube_project | ( | wmOperatorType * | ot | ) |
Definition at line 4295 of file uvedit_unwrap_ops.cc.
References cube_project_exec(), ED_operator_uvmap(), FLT_MAX, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), and uv_map_clip_correct_properties().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_cylinder_project | ( | wmOperatorType * | ot | ) |
Definition at line 4159 of file uvedit_unwrap_ops.cc.
References cylinder_project_exec(), ED_operator_uvmap(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, uv_map_clip_correct_properties(), and uv_transform_properties().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_minimize_stretch | ( | wmOperatorType * | ot | ) |
Definition at line 1282 of file uvedit_unwrap_ops.cc.
References ED_operator_uvedit(), minimize_stretch_cancel(), minimize_stretch_exec(), minimize_stretch_invoke(), minimize_stretch_modal(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_float_factor(), and RNA_def_int().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_pack_islands | ( | wmOperatorType * | ot | ) |
Definition at line 1971 of file uvedit_unwrap_ops.cc.
References ED_operator_uvedit(), ED_UVPACK_MARGIN_SCALED, ED_UVPACK_PIN_LOCK_ALL, ED_UVPACK_ROTATION_ANY, ED_UVPACK_SHAPE_CONCAVE, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PACK_CUSTOM_REGION, pack_islands_exec(), pack_margin_method_items, PACK_ORIGINAL_AABB, pack_rotate_method_items, pack_shape_method_items, PACK_UDIM_SRC_ACTIVE, PACK_UDIM_SRC_CLOSEST, pinned_islands_method_items, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_factor(), uv_pack_islands_invoke(), uv_pack_islands_ui(), and WM_operator_props_popup_call().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_project_from_view | ( | wmOperatorType * | ot | ) |
Definition at line 3620 of file uvedit_unwrap_ops.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), 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 3680 of file uvedit_unwrap_ops.cc.
References ED_operator_uvmap(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and reset_exec().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_smart_project | ( | wmOperatorType * | ot | ) |
Definition at line 3399 of file uvedit_unwrap_ops.cc.
References DEG2RADF, ED_operator_uvmap(), ED_UVPACK_MARGIN_SCALED, ED_UVPACK_ROTATION_AXIS_ALIGNED_Y, OPTYPE_REGISTER, OPTYPE_UNDO, ot, pack_margin_method_items, PACK_ROTATE_METHOD_AXIS_ALIGNED_OFFSET, pack_rotate_method_items, RNA_def_enum(), RNA_def_float(), RNA_def_float_rotation(), RNA_def_property_float_default(), smart_project_exec(), smart_project_invoke(), and uv_map_clip_correct_properties_ex().
Referenced by ED_operatortypes_uvedit().
| void UV_OT_sphere_project | ( | wmOperatorType * | ot | ) |
Definition at line 3971 of file uvedit_unwrap_ops.cc.
References ED_operator_uvmap(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, 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 2983 of file uvedit_unwrap_ops.cc.
References DNA_struct_default_get, ED_operator_uvmap(), ED_UVPACK_MARGIN_SCALED, MAX_ID_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, pack_margin_method_items, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_factor(), RNA_def_int(), RNA_def_string(), unwrap_draw(), unwrap_exec(), ToolSettings::unwrapper, uv_map_operator_property_correct_aspect(), UVCALC_FILLHOLES, ToolSettings::uvcalc_flag, ToolSettings::uvcalc_iterations, UVCALC_UNWRAP_METHOD_ANGLE, UVCALC_UNWRAP_METHOD_CONFORMAL, UVCALC_UNWRAP_METHOD_MINIMUM_STRETCH, UVCALC_UNWRAP_NO_FLIP, UVCALC_UNWRAP_USE_WEIGHTS, ToolSettings::uvcalc_weight_factor, and ToolSettings::uvcalc_weight_group.
Referenced by ED_operatortypes_uvedit().
|
static |
Definition at line 1966 of file uvedit_unwrap_ops.cc.
References C, IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by UV_OT_pack_islands().
|
static |
Definition at line 1937 of file uvedit_unwrap_ops.cc.
References uiLayout::active_set(), IFACE_, wmOperator::layout, uiLayout::prop(), wmOperator::ptr, RNA_boolean_get(), uiLayout::row(), uiLayout::separator(), UI_ITEM_NONE, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by UV_OT_pack_islands().
|
static |
Compute the sphere projection for a BMFace using map_to_sphere and store on BMLoops.
Heuristics are used in uv_map_mirror to improve winding.
if fan is true, faces with UVs at the pole have corrections applied to fan the UVs.
if use_seams is true, the unwrapping will flood fill across the mesh, using seams to mark boundaries, and BM_ELEM_TAG to prevent revisiting faces.
Definition at line 3822 of file uvedit_unwrap_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), bm, BM_ELEM_CD_GET_FLOAT_P, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACES_OF_EDGE, BM_ITER_ELEM, BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, UV_FaceBranch::branch, ceilf, blender::Array< T, InlineBufferCapacity, Allocator >::data(), UV_FaceBranch::efa, i, l, BMFace::len, map_to_sphere(), max_ff(), mul_m3_v3(), blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), sub_v3_v3v3(), BMUVOffsets::uv, uv_map_mirror(), uvedit_face_select_disable(), and uvedit_face_select_test().
Referenced by sphere_project_exec().
|
static |
Definition at line 2448 of file uvedit_unwrap_ops.cc.
References ALIGN_TO_OBJECT, FAN, FLT_MAX, ot, PINCH, POLAR_ZX, POLAR_ZY, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), VIEW_ON_EQUATOR, and VIEW_ON_POLES.
Referenced by UV_OT_cylinder_project(), and UV_OT_sphere_project().
|
static |
Definition at line 88 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_elem_flag_enable, BM_ELEM_SELECT_UV, BM_ELEM_SELECT_UV_EDGE, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, CD_PROP_FLOAT2, CustomData_has_layer(), Object::data, ED_mesh_uv_add(), ED_uvedit_test(), l, BMesh::ldata, BMesh::totface, and BMesh::uv_select_sync_valid.
Referenced by cube_project_exec(), cylinder_project_exec(), reset_exec(), smart_project_exec(), sphere_project_exec(), unwrap_exec(), and uv_from_view_exec().
|
static |
Definition at line 440 of file uvedit_unwrap_ops.cc.
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, BM_uv_map_offsets_get(), l, options, Scene::toolsettings, BMesh::totfacesel, BMUVOffsets::uv, ToolSettings::uv_flag, UV_FLAG_SELECT_SYNC, and uvedit_uv_select_test().
Referenced by uvedit_have_selection_multi().
|
static |
Definition at line 479 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), options, and uvedit_have_selection().
Referenced by average_islands_scale_exec(), minimize_stretch_init(), pack_islands_exec(), and unwrap_exec().
|
static |
Definition at line 532 of file uvedit_unwrap_ops.cc.
References bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ITER_ELEM, BM_LOOPS_OF_FACE, l, options, and uvedit_uv_select_test().
Referenced by construct_param_handle(), and construct_param_handle_multi().
|
static |
In practice the timer should practically always be valid. Use this to prevent the unlikely case of a stale timer being set.
Loading a new file while unwrapping is running could cause this for example.
Definition at line 2142 of file uvedit_unwrap_ops.cc.
References BLI_findindex(), and g_live_unwrap.
Referenced by ED_uvedit_live_unwrap_begin(), and ED_uvedit_live_unwrap_end().
|
static |
Pack UV islands from multiple objects.
| scene | Scene containing the objects to be packed. |
| objects | Array of Objects to pack. |
| objects_len | Length of objects array. |
| bmesh_override | BMesh array aligned with objects. Optional, when non-null this overrides object's BMesh. This is needed to perform UV packing on objects that aren't in edit-mode. |
| udim_source_closest | UDIM source SpaceImage. |
| original_selection | Pack to original selection. |
| notify_wm | Notify the WM of any changes. (UI thread only.) |
| params | Parameters and options to pass to the packing engine. |
Definition at line 1448 of file uvedit_unwrap_ops.cc.
References blender::geometry::PackIsland::add_polygon(), blender::geometry::PackIsland::angle, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), ARRAY_SET_ITEMS, blender::geometry::PackIsland::aspect_y, FaceIsland::aspect_y, BKE_editmesh_from_object(), BLI_assert, BLI_heap_free(), BLI_heap_new(), BLI_memarena_clear(), BLI_memarena_free(), BLI_memarena_new(), BLI_MEMARENA_STD_BUFSIZE, BLI_rctf_is_empty(), BLI_rctf_size_x(), BLI_rctf_size_y(), BLI_remlink(), bm, BMEditMesh::bm, BM_ELEM_CD_GET_FLOAT_P, BM_face_uv_minmax(), BM_ITER_ELEM_INDEX, BM_LOOPS_OF_FACE, bm_mesh_calc_uv_islands(), BM_uv_map_offsets_get(), blender::geometry::PackIsland::build_transformation(), blender::geometry::PackIsland::caller_index, blender::geometry::PackIsland::can_scale_(), copy_v2_v2(), DEG_id_tag_update(), ED_uvedit_get_aspect_y(), ED_UVPACK_PIN_IGNORE, ED_UVPACK_PIN_LOCK_ALL, FaceIsland::faces, FaceIsland::faces_len, floorf, FLT_MAX, i, ID_RECALC_GEOMETRY, SpaceImage::image, blender::Span< T >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), INIT_MINMAX2, invert_m2_m2(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), island_has_pins(), island_uv_transform(), l, BMFace::len, LISTBASE_FOREACH_MUTABLE, MEM_freeN(), mid_v2_v2v2(), mul_v2_m2v2(), NC_GEOM, ND_DATA, FaceIsland::offsets, blender::geometry::pack_islands(), params, blender::geometry::PackIsland::pinned, blender::geometry::PackIsland::pre_translate, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), SpaceImage::tile_grid_shape, BMUVOffsets::uv, uv_coords_isect_udim(), uv_nearest_grid_tile_distance(), uv_nearest_image_tile_distance(), WM_main_add_notifier(), rctf::xmin, and rctf::ymin.
Referenced by ED_uvedit_add_simple_uvs(), ED_uvedit_live_unwrap(), pack_islands_startjob(), smart_project_exec(), and unwrap_exec().
|
static |
Definition at line 562 of file uvedit_unwrap_ops.cc.
References bm, BM_ELEM_CD_GET_BOOL, BM_ELEM_CD_GET_FLOAT_P, BM_elem_index_get, BM_ITER_ELEM, BM_LOOPS_OF_FACE, l, options, BMUVOffsets::pin, BMUVOffsets::uv, blender::geometry::uv_prepare_pin_index(), and uvedit_uv_select_test().
Referenced by construct_param_handle(), and construct_param_handle_multi().
|
static |
Definition at line 2744 of file uvedit_unwrap_ops.cc.
References BKE_editmesh_from_object(), BMEditMesh::bm, CD_PROP_FLOAT2, construct_param_handle(), construct_param_handle_subsurfed(), CustomData_has_layer(), BMesh::ldata, modifier_unwrap_state(), options, blender::geometry::uv_parametrizer_average(), blender::geometry::uv_parametrizer_flush(), blender::geometry::uv_parametrizer_lscm_begin(), blender::geometry::uv_parametrizer_lscm_end(), blender::geometry::uv_parametrizer_lscm_solve(), and blender::geometry::uv_parametrizer_slim_solve().
Referenced by uvedit_unwrap_multi().
|
static |
Definition at line 4183 of file uvedit_unwrap_ops.cc.
References axis_dominant_v3(), bm, BM_ELEM_CD_GET_FLOAT_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_uv_map_offsets_get(), copy_v3_v3(), l, BMFace::no, UNLIKELY, BMUVOffsets::uv, uvedit_face_select_disable(), uvedit_face_select_test(), and zero_v3().
Referenced by cube_project_exec(), and ED_uvedit_add_simple_uvs().
|
static |
Definition at line 2782 of file uvedit_unwrap_ops.cc.
References DEG_id_tag_update(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, options, uvedit_unwrap(), and WM_main_add_notifier().
Referenced by ED_uvedit_live_unwrap(), and unwrap_exec().
| struct { ... } g_live_unwrap |
| ParamHandle** handles |
Definition at line 2125 of file uvedit_unwrap_ops.cc.
Referenced by blender::nodes::node_geo_string_to_curves_cc::add_instances_from_handles(), BKE_curve_decimate_bezt_array(), blender::compositor::CachedMask::CachedMask(), blender::nodes::node_geo_string_to_curves_cc::create_curve_instances(), do_sequence_proxy(), blender::bke::Instances::ensure_geometry_instances(), blender::ed::view3d::geometry_nodes_gizmos::find_gizmo_geometry_transform_recursive(), blender::geometry::gather_attribute_propagation_components_with_custom_depths(), blender::geometry::gather_realize_tasks_for_instances(), blender::compositor::get_mask_raster_handles(), blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput::get_varray_for_context(), blender::nodes::node_geo_input_instance_bounds_cc::InstanceBoundsField::get_varray_for_context(), blender::opensubdiv::EvalOutputAPI::getPatchMap(), blender::ed::transform::curves::handles_by_type(), blender::gpu::VKDevice::init(), blender::geometry::join_component_type(), blender::ed::greasepencil::join_geometries_with_transforms(), knot_remove_error_recalculate(), blender::nodes::node_geo_boolean_cc::node_geo_exec(), blender::gpu::GLSharedOrphanLists::orphans_clear(), project_paint_op(), blender::bke::Instances::reference_user_counts(), blender::seq::retiming_keys_get(), and blender::ed::vse::sequencer_box_select_exec().
| uint len |
Definition at line 2126 of file uvedit_unwrap_ops.cc.
Referenced by _bli_array_permute(), _glewSearchExtension(), add_struct(), addedgetoscanlist(), Freestyle::BlenderFileLoader::addTriangle(), alter_co(), angle_poly_v3(), ANIM_add_driver_with_target(), Light::area(), area_light_max_extent(), area_light_rect_sample(), area_light_spread_clamp_light(), arrow_draw_geom(), blender::ed::asset::asset_bundle_install_exec(), ATTR_NONNULL(), ATTR_NONNULL(), mem_guarded::internal::ATTR_NONNULL(), attr_size(), bake_offset_towards_center(), blender::gpu::MTLFrameBuffer::bake_render_pass_descriptor(), bezier_handle_calc_length_v3(), BKE_brush_curve_strength(), BKE_brush_curve_strength_clamped(), BKE_curve_bevelList_make(), BKE_curve_correct_bezpart(), BKE_fcurve_correct_bezpart(), BKE_fcurve_pathcache_find(), BKE_fcurve_pathcache_find_array(), BKE_image_save_options_init(), 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_packedfile_compare_to_file(), BKE_ptcache_disk_cache_rename(), BKE_ptcache_id_clear(), BKE_ptcache_id_time(), BKE_ptcache_load_external(), BKE_report(), BKE_tracking_tracks_join(), BKE_vfont_clipboard_set(), blendfile_library_relocate_id_remap_finalize(), BLI_box_pack_2d(), BLI_dir_create_recursive(), BLI_dir_free_space(), BLI_dynstr_nappend(), BLI_exists(), BLI_file_alias_target(), BLI_file_unzstd_to_mem_at_pos(), BLI_file_zstd_from_mem_at_pos(), BLI_filereader_new_memory(), 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_join_array(), BLI_path_make_safe_filename_ex(), BLI_path_slash_rstrip(), blender::draw::detail::DataBuffer< T, len, device_only >::BLI_STATIC_ASSERT(), BLI_str_escape(), BLI_str_format_byte_unit(), BLI_str_tolower_ascii(), BLI_str_toupper_ascii(), BLI_str_unescape(), BLI_str_unescape_ex(), BLI_str_utf32_as_utf8(), BLI_str_utf32_as_utf8_len(), BLI_str_utf32_as_utf8_len_ex(), BLI_str_utf8_as_unicode_or_error(), BLI_str_utf8_as_unicode_step_or_error(), BLI_str_utf8_as_utf32(), BLI_str_utf8_from_unicode(), BLI_str_utf8_from_unicode_len(), BLI_strcasestr(), BLI_strcmp_ignore_pad(), BLI_strdupn(), BLI_string_flip_side_name(), BLI_string_split_prefix(), BLI_string_split_suffix(), BLI_strlen_utf8_ex(), BLI_strncasecmp(), BLI_strncasecmp(), BLI_strncasestr(), BLI_strncasestr(), BLI_strncat(), BLI_strncpy_wchar_as_utf8(), BLI_strnlen(), BLI_strnlen_utf8_ex(), BLI_system_thread_count(), BLI_uniquename_cb(), BLI_uniquename_cb(), BLI_wstrlen_utf8(), BLO_read_string(), bm_bridge_best_rotation(), BM_disk_dissolve(), bm_edge_info_average_length(), BM_edge_is_any_face_len_test(), 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_face_triangulate(), BM_iter_as_array(), BM_loop_at_index_find(), BM_loop_calc_face_normal(), BM_loop_is_adjacent(), bm_mesh_calc_uvs_sphere_face(), bm_uidwalk_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(), bmesh_radial_faceloop_find_vert(), bmo_connect_verts_nonplanar_exec(), bmo_create_uvsphere_exec(), bmo_dissolve_edges_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_Wrap_GetKeys(), bsdf_hair_huang_eval_residual(), bsdf_hair_huang_sample(), bsdf_microfacet_eval(), btAdjustInternalEdgeContacts(), btStrLen(), C_BVHTree_FromPolygons(), calc_bevfac_spline_mapping(), calc_strength(), calchandle_curvemap(), calchandleNurb_intern(), LightTreeMeasure::calculate(), blender::bke::curves::bezier::calculate_point_handles(), btTransformUtil::calculateDiffAxisAngle(), btTransformUtil::calculateDiffAxisAngleQuaternion(), camera_distance(), camera_z_depth(), channel_list_visible_key_len(), channel_visible_key_len(), check_field_alignment(), clampto_evaluate(), clg_ctx_filter_check(), clg_str_append_char(), clg_str_append_with_len(), clg_str_reserve(), cloth_bend_poly_dir(), cloth_bend_set_poly_vert_array(), cloth_calc_helper_forces(), blender::ed::sculpt_paint::mask::color_delta_get(), compute_3d_orientation(), Mesh::Triangle::compute_normal(), console_cursor_set_to_pos(), console_delete_editable_selection(), console_indent_exec(), console_insert_exec(), console_insert_invoke(), console_line_insert(), console_line_verify_length(), console_select_set_invoke(), console_unindent_exec(), copy_single_file(), blender::nodes::node_geo_string_to_curves_cc::create_curve_instances(), blender::draw::create_material_subranges(), Freestyle::createStroke(), curve_to_displist(), differential_make_compact(), differential_make_compact(), dir_create_recursive(), direction_to_central_cylindrical(), direction_to_equirectangular_range(), direction_to_fisheye_equidistant(), distance(), distance(), distance(), distant_light_uv(), DNA_struct_member_size(), blender::ed::sculpt_paint::color::do_smear_brush_task(), dquat_to_mat4(), draw_brackets(), draw_distortion(), draw_suggestion_list(), drw_shgroup_bone_envelope(), ED_armature_ebone_from_mat3(), ED_info_statusbar_string_ex(), ED_mask_feather_find_nearest(), ed_mesh_pick_vert__mapFunc(), ED_node_tree_path_get(), ED_scene_grid_scale(), edbm_bevel_calc_initial_length(), edbm_connect_vert_pair(), editstr_insert_at_cursor(), eff_calc_visibility(), ensure_digits(), evaluate_curve_type_object(), evaluate_surface_object(), export_hair_curves(), blender::io::usd::export_packed_texture(), exr_rgba_channelname(), blender::geometry::extend_curve_curved(), blender::draw::extract_tris_subdiv(), fcurve_path_rename(), file_draw_string_multiline(), file_seek(), find_internal_spring_target_vertex(), find_min_value(), flatten_string(), flatten_string_append(), flatten_string_strlen(), blender::gpu::MTLCircularBuffer::flush(), blender::ed::object::followpath_path_animate_exec(), blender::draw::View::frustum_culling_planes_calc(), blender::draw::View::frustum_culling_sphere_calc(), fsmenu_entry_generate_name(), fsmenu_read_bookmarks(), gearGL(), gearGL(), get_default_rna_value(), MovieIndex::get_frame_index(), get_stats_string(), get_suggest_prefix(), GHOST_SystemWin32::getClipboard(), GHOST_SystemX11::getClipboard_xcout(), GHOST_WindowX11::GHOST_WindowX11(), gizmo_preselect_elem_test_select(), gizmo_ruler_draw(), blender::gpu::GLVertBuf::GLStorageBuf, GPU_debug_get_groups_names(), GPU_indexbuf_update_sub(), GPU_shader_uniform_1f_array(), GPU_shader_uniform_2fv_array(), GPU_shader_uniform_4fv_array(), GPU_shader_uniform_float_ex(), GPU_shader_uniform_int_ex(), 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(), idprop_ui_data_update_bool_default(), idprop_ui_data_update_float_default(), idprop_ui_data_update_int_default(), imb_exr_split_channel_name(), init_track_for_stabilization(), blender::draw::init_vbo_for_attribute(), btDefaultSerializer::initDNA(), insert_text_exec(), is_track_clean(), light_distribution_sample(), light_tree_emitter_importance(), light_tree_node_importance(), LightTreeEmitter::LightTreeEmitter(), blender::ed::sculpt_paint::load_tex_cursor_task_cb(), blender::ed::sculpt_paint::load_tex_task_cb_ex(), M_Geometry_area_tri(), M_Geometry_box_fit_2d(), M_Geometry_box_pack_2d(), M_Geometry_convex_hull_2d(), M_Interpolate_poly_3d_calc(), make_memhead_header(), make_structDNA(), map_to_tube(), blender::ed::sculpt_paint::mask::mask_by_color_contiguous_mesh(), mathutils_array_hash(), mathutils_rna_vector_set(), md5_process_block(), mean_value_half_tan_v2_db(), mean_value_half_tan_v3(), MEM_calloc_arrayN(), MEM_calloc_arrayN(), MEM_callocN(), MEM_guarded_calloc_arrayN(), MEM_guarded_calloc_arrayN(), MEM_guarded_calloc_arrayN_aligned(), MEM_guarded_calloc_arrayN_aligned(), MEM_guarded_callocN(), MEM_guarded_malloc_arrayN(), MEM_guarded_malloc_arrayN(), MEM_guarded_malloc_arrayN_aligned(), MEM_guarded_malloc_arrayN_aligned(), mem_guarded_malloc_arrayN_aligned(), MEM_guarded_mallocN(), MEM_guarded_mallocN_aligned(), MEM_guarded_reallocN_id(), MEM_guarded_recallocN_id(), MEM_lockfree_calloc_arrayN(), MEM_lockfree_calloc_arrayN(), MEM_lockfree_calloc_arrayN_aligned(), MEM_lockfree_calloc_arrayN_aligned(), MEM_lockfree_callocN(), MEM_lockfree_freeN(), MEM_lockfree_malloc_arrayN(), MEM_lockfree_malloc_arrayN(), MEM_lockfree_malloc_arrayN_aligned(), MEM_lockfree_malloc_arrayN_aligned(), mem_lockfree_malloc_arrayN_aligned(), MEM_lockfree_mallocN(), MEM_lockfree_mallocN_aligned(), MEM_lockfree_reallocN_id(), MEM_lockfree_recallocN_id(), MEM_malloc_arrayN(), MEM_malloc_arrayN(), MEM_mallocN(), MEM_mallocN_aligned(), mesh_add_edges(), mesh_add_faces(), mesh_add_loops(), mesh_add_verts(), mesh_remove_edges(), mesh_remove_faces(), mesh_remove_loops(), mesh_remove_verts(), mesh_uv_reset_array(), meshdeform_ray_tree_intersect(), metadata_draw_imbuf(), mm2a_mix_tail(), mnee_compute_constraint_derivatives(), mnee_compute_transfer_matrix(), mnee_newton_solver(), mnee_setup_manifold_vertex(), MOD_solidify_nonmanifold_modifyMesh(), blender::locale::MOFile::MOFile(), blender::gpu::MSLGeneratorInterface::msl_patch_default_get(), blender::gpu::MTLIndexBuf::MTLStorageBuf, mywrite(), new_folder_path(), blender::draw::SwapChain< T, len >::next(), blender::draw::SwapChain< T, len >::next(), nlaedit_split_strip_actclip(), blender::noise_table(), blender::noise_table(), blender::math::normalize(), blender::math::normalize(), mikk::float3::normalize(), normalize(), normalize(), normalize(), normalize(), normalize_len(), normalize_len(), normalize_m4(), normalize_m4_m4(), blender::asset_system::utils::normalize_path(), normalize_qt(), object_volume_density(), ObtainCacheParticleData(), blender::nodes::old_id_property_type_matches_socket_convert_to_new_float_vec(), opj_seek_from_buffer(), blender::ed::outliner::outliner_buttons(), output_iris(), blender::geometry::p_chart_boundaries(), blender::geometry::p_chart_correct_degenerate_triangles2(), blender::geometry::p_chart_minimum_area_angle(), blender::geometry::p_chart_symmetry_pins(), blender::ed::sculpt_paint::paint_stroke_line_constrain(), parse_int_range_relative_clamp_n(), blender::io::ply::parse_word(), partition(), passtype_from_name(), paste_selection(), paste_text_exec(), path_len_no_trailing_slash(), point_calculate_handle(), blender::point_counts_to_keep_concurrent(), poly_avg(), poly_norm(), pose_slide_apply_props(), precise_angle(), blender::draw::SwapChain< T, len >::previous(), blender::draw::SwapChain< T, len >::previous(), btSphereSphereCollisionAlgorithm::processCollision(), uiLayout::prop(), prop_subscript_ass_array_int(), btSoftBody::PSolve_Links(), psys_get_dupli_path_transform(), ptcache_filepath(), ptcache_filepath_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(), PyC_Tuple_PackArray_Multi_Bool_impl(), PyC_Tuple_PackArray_Multi_F32_impl(), PyC_Tuple_PackArray_Multi_F64_impl(), PyC_Tuple_PackArray_Multi_I32_impl(), PyC_Tuple_PackArray_String(), 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(), pygpu_vertformat_attr_add(), 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(), blender::render::hydra::RenderTaskDelegate::read_aov(), read_file_as_buffer(), blender::io::read_next_line(), readtab(), replace_bbone_len_scale_rnapath(), report_error_on_address(), report_error_on_address(), repr_str(), btSolve2LinearConstraint::resolveBilateralPairConstraint(), btSolve2LinearConstraint::resolveUnilateralPairConstraint(), blender::draw::ResourceIndexRange::ResourceIndexRange(), 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_generate_property(), RNA_parameter_dynamic_length_get(), rna_parameter_size(), rna_path_parse_array_index(), rna_path_token(), rna_path_token_in_brackets(), 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_pointer_get_default(), RNA_property_reset(), RNA_property_string_set_bytes(), rotation_contribution(), rule_avoid_collision(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), safe_normalize(), safe_normalize(), safe_normalize(), safe_normalize_fallback(), safe_normalize_len(), blender::ed::sculpt_paint::cloth::sculpt_cloth_filter_modal(), blender::ed::sculpt_paint::color::sculpt_color_filter_modal(), blender::ed::sculpt_paint::filter::sculpt_mesh_update_strength(), select_bidomain(), select_similar_length(), blender::ed::vse::sequencer_change_path_exec(), blender::ed::vse::sequencer_image_strip_reserve_frames(), serializeDynamicsWorldInfo(), btMultiBodyDynamicsWorld::serializeMultiBodies(), btDefaultSerializer::serializeName(), serializeRigidBodies(), serializeSingleBvh(), serializeSingleShape(), serializeSingleTriangleInfoMap(), btSoftMultiBodyDynamicsWorld::serializeSoftBodies(), btSoftRigidDynamicsWorld::serializeSoftBodies(), session_print(), set_case(), blender::ed::transform::setNearestAxis3d(), single_scattering(), blender::draw::SwapChain< T, len >::size(), skin_choose_quad_bridge_order(), slide_dist(), space_text_cursor_set_to_pos_wrapped(), sphere_do(), stencil_control_calculate(), blender::draw::StorageArrayBuffer< float2, 16 >::StorageArrayBuffer(), blender::draw::detail::StorageCommon< T, len, device_only >::StorageCommon(), blender::draw::StorageVectorBuffer< IrradianceBrickPacked, 16 >::StorageVectorBuffer(), str_tolower_titlecaps_ascii(), strbuf_append_path(), strbuf_trim(), string_dup(), string_endswith(), string_startswith(), blender::io::stl::StringBuffer::StringBuffer(), strip_foreach_path_callback(), svm_node_camera(), svm_node_tex_gabor(), svm_node_vector_rotate(), svm_vector_math(), svm_wave(), blender::draw::SwapChain< T, len >::swap(), system_physical_ram(), tan_angle(), blender::math::tests::TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), blender::draw::test_eevee_shadow_page_mask_ex(), blender::draw::test_eevee_shadow_tag_update(), text_autocomplete_build(), text_check_format_len(), text_convert_whitespace_exec(), blender::ed::vse::text_edit_copy(), text_format_fill(), text_format_fill_ascii(), text_from_buf(), text_insert_invoke(), texttool_suggest_add(), blender::gpu::GLStateManager::texture_unpack_row_length_set(), blender::gpu::MTLStateManager::texture_unpack_row_length_set(), blender::gpu::StateManager::texture_unpack_row_length_set(), blender::gpu::VKStateManager::texture_unpack_row_length_set(), textview_draw_string(), tracking_dopesheet_channels_segments_calc(), transform_decompose(), tri_to_quat(), triangle_area(), triangle_light_pdf(), blender::draw::StorageArrayBuffer< float2, 16 >::trim_to_next_power_of_2(), txt_from_buf_for_undo(), txt_select_prefix(), txtfmt_glsl_format_line(), txtfmt_osl_format_line(), txtfmt_pov_format_line(), txtfmt_pov_ini_format_line(), txtfmt_py_format_line(), TYPED_TEST(), ui_block_calc_pie_segment(), ui_but_text_password_hide(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), UI_draw_text_underline(), ui_handle_list_event(), ui_item_array(), ui_item_name_add_colon(), ui_item_name_add_colon(), ui_item_rna_size(), ui_layer_but_cb(), UI_list_filter_and_sort_items(), 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(), uiDefAutoButsArrayR(), uiTemplateImageInfo(), uiTemplateMovieclipInformation(), blender::draw::UniformArrayBuffer< PlanarProbeData, PLANAR_PROBE_MAX >::UniformArrayBuffer(), blender::draw::detail::UniformCommon< T, len, device_only >::UniformCommon(), unique_name(), unit_as_string(), unit_scale_str(), unpack_generate_paths(), blender::ed::sculpt_paint::update_curve_mask(), blender::ed::sculpt_paint::update_sampled_curve(), blender::gpu::GLIndexBuf::update_sub(), blender::gpu::GLVertBuf::update_sub(), blender::gpu::IndexBuf::update_sub(), blender::gpu::MTLIndexBuf::update_sub(), blender::gpu::MTLVertBuf::update_sub(), blender::gpu::VertBuf::update_sub(), btSoftBody::updateNormals(), url_encode_wstring(), utf8_char_decode(), util_murmur_hash3(), uvedit_uv_straighten_elements(), Freestyle::V2Normalize(), Freestyle::V2Scale(), validate_array_length(), blender::locale::MOFile::value(), vec_to_quat(), vector_angle(), vicon_rgb_text_draw(), view3d_grid_steps_ex(), wireframe(), wm_autosave_location(), WM_gesture_lasso_path_to_array(), wm_gizmomap_select_array_ensure_len_alloc(), wm_read_exotic(), Camera::world_to_raster_size(), blender::math::QuaternionBase< T >::wrapped_around(), blender::io::ply::FileBuffer::write_fstring(), write_memory(), write_raw_data_in_debug_file(), write_type(), writedata(), writedata(), and writetab().
| uint len_alloc |
Definition at line 2126 of file uvedit_unwrap_ops.cc.
Referenced by clg_str_vappendf(), and wm_gizmomap_select_array_ensure_len_alloc().
|
static |
Definition at line 1868 of file uvedit_unwrap_ops.cc.
Referenced by UV_OT_pack_islands(), UV_OT_smart_project(), and UV_OT_unwrap().
|
static |
Definition at line 1883 of file uvedit_unwrap_ops.cc.
Referenced by UV_OT_pack_islands(), and UV_OT_smart_project().
|
static |
Definition at line 1911 of file uvedit_unwrap_ops.cc.
Referenced by UV_OT_pack_islands().
|
static |
Definition at line 1925 of file uvedit_unwrap_ops.cc.
Referenced by UV_OT_pack_islands().
Definition at line 3088 of file uvedit_unwrap_ops.cc.
Referenced by smart_project_exec(), and smart_uv_project_thickface_area_cmp_fn().
| wmTimer* timer |
Definition at line 2127 of file uvedit_unwrap_ops.cc.
Referenced by GHOST_TimerManager::addTimer(), SVMCompiler::compile(), Background::device_update(), BakeManager::device_update(), Camera::device_update(), Film::device_update(), GeometryManager::device_update(), ImageManager::device_update(), Integrator::device_update(), LightManager::device_update(), LookupTables::device_update(), ObjectManager::device_update(), ParticleSystemManager::device_update(), Scene::device_update(), ObjectManager::device_update_flags(), GeometryManager::device_update_preprocess(), SVMShaderManager::device_update_specific(), ED_uvedit_live_unwrap_timer_check(), ED_uvedit_nearest_uv_multi(), blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::LazyFunctionForGroupNode::execute_impl(), GHOST_TimerManager::getTimerFound(), GHOST_TimerManager::GHOST_TimerManager(), gwl_seat_key_repeat_timer_add(), GHOST_System::installTimer(), Scene::load_kernels(), region_blend_invoke(), GHOST_TimerManager::removeTimer(), BlenderSync::sync_data(), Camera::update(), ProceduralManager::update(), WM_event_add(), WM_event_timer_free_data(), WM_event_timer_remove(), WM_event_timer_remove_notifier(), WM_event_timer_sleep(), and blender::bke::WindowManagerRuntime::~WindowManagerRuntime().