|
Blender
V2.93
|
#include <stddef.h>#include "MEM_guardedalloc.h"#include "DNA_key_types.h"#include "DNA_material_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_bitmap.h"#include "BLI_heap_simple.h"#include "BLI_linklist.h"#include "BLI_linklist_stack.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_rand.h"#include "BLI_sort_utils.h"#include "BLI_string.h"#include "BKE_context.h"#include "BKE_deform.h"#include "BKE_editmesh.h"#include "BKE_key.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_texture.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "BLT_translation.h"#include "RNA_access.h"#include "RNA_define.h"#include "RNA_enum_types.h"#include "WM_api.h"#include "WM_types.h"#include "ED_mesh.h"#include "ED_object.h"#include "ED_outliner.h"#include "ED_screen.h"#include "ED_transform.h"#include "ED_uvedit.h"#include "ED_view3d.h"#include "RE_texture.h"#include "UI_interface.h"#include "UI_resources.h"#include "mesh_intern.h"#include "bmesh_tools.h"Go to the source code of this file.
Classes | |
| struct | EdgeRingOpSubdProps |
| struct | BMElemSort |
Macros | |
| #define | USE_FACE_CREATE_SEL_EXTEND |
| #define | MAXSLOPE 100000 |
| #define | WM_MODALKEY(_id) |
Knife Subdivide Operator | |
| #define | KNIFE_EXACT 1 |
| #define | KNIFE_MIDPOINT 2 |
| #define | KNIFE_MULTICUT 3 |
| #define | ELE_EDGE_CUT 1 |
| static const EnumPropertyItem | knife_items [] |
| static float | bm_edge_seg_isect (const float sco_a[2], const float sco_b[2], float(*mouse_path)[2], int len, char mode, int *isected) |
| static int | edbm_knife_cut_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_knife_cut (wmOperatorType *ot) |
Loop Normals Editing Tools Modal Map | |
| #define | CLNORS_VALID_VEC_LEN (1e-4f) |
| enum | { EDBM_CLNOR_MODAL_CANCEL = 1 , EDBM_CLNOR_MODAL_CONFIRM = 2 , EDBM_CLNOR_MODAL_POINTTO_RESET = 101 , EDBM_CLNOR_MODAL_POINTTO_INVERT = 102 , EDBM_CLNOR_MODAL_POINTTO_SPHERIZE = 103 , EDBM_CLNOR_MODAL_POINTTO_ALIGN = 104 , EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE = 110 , EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT = 111 , EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT = 112 , EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR = 113 , EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED = 114 } |
| wmKeyMap * | point_normals_modal_keymap (wmKeyConfig *keyconf) |
Delete Operator | |
| enum | { MESH_DELETE_VERT = 0 , MESH_DELETE_EDGE = 1 , MESH_DELETE_FACE = 2 , MESH_DELETE_EDGE_FACE = 3 , MESH_DELETE_ONLY_FACE = 4 } |
| static void | edbm_report_delete_info (ReportList *reports, const int totelem_old[3], const int totelem_new[3]) |
| static int | edbm_delete_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_delete (wmOperatorType *ot) |
Merge Vertices Operator | |
| enum | { MESH_MERGE_LAST = 1 , MESH_MERGE_CENTER = 3 , MESH_MERGE_CURSOR = 4 , MESH_MERGE_COLLAPSE = 5 , MESH_MERGE_FIRST = 6 } |
| static const EnumPropertyItem | merge_type_items [] |
| static bool | merge_firstlast (BMEditMesh *em, const bool use_first, const bool use_uvmerge, wmOperator *wmop) |
| static bool | merge_target (BMEditMesh *em, Scene *scene, Object *ob, const bool use_cursor, const bool use_uvmerge, wmOperator *wmop) |
| static int | edbm_merge_exec (bContext *C, wmOperator *op) |
| static const EnumPropertyItem * | merge_type_itemf (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free) |
| void | MESH_OT_merge (wmOperatorType *ot) |
Separate Parts Operator | |
| enum | { MESH_SEPARATE_SELECTED = 0 , MESH_SEPARATE_MATERIAL = 1 , MESH_SEPARATE_LOOSE = 2 } |
| static Base * | mesh_separate_tagged (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static Base * | mesh_separate_arrays (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old, BMVert **verts, uint verts_len, BMEdge **edges, uint edges_len, BMFace **faces, uint faces_len) |
| static bool | mesh_separate_selected (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static void | mesh_separate_material_assign_mat_nr (Main *bmain, Object *ob, const short mat_nr) |
| static bool | mesh_separate_material (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static bool | mesh_separate_loose (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old) |
| static int | edbm_separate_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_separate (wmOperatorType *ot) |
Sort Geometry Elements Operator | |
| enum | { SRT_VIEW_ZAXIS = 1 , SRT_VIEW_XAXIS , SRT_CURSOR_DISTANCE , SRT_MATERIAL , SRT_SELECTED , SRT_RANDOMIZE , SRT_REVERSE } |
| typedef struct BMElemSort | BMElemSort |
| static int | bmelemsort_comp (const void *v1, const void *v2) |
| static void | sort_bmelem_flag (bContext *C, Scene *scene, Object *ob, RegionView3D *rv3d, const int types, const int flag, const int action, const int reverse, const uint seed) |
| static int | edbm_sort_elements_exec (bContext *C, wmOperator *op) |
| static bool | edbm_sort_elements_poll_property (const bContext *UNUSED(C), wmOperator *op, const PropertyRNA *prop) |
| void | MESH_OT_sort_elements (wmOperatorType *ot) |
Bridge Operator | |
| enum | { MESH_BRIDGELOOP_SINGLE = 0 , MESH_BRIDGELOOP_CLOSED = 1 , MESH_BRIDGELOOP_PAIRS = 2 } |
| static int | edbm_bridge_tag_boundary_edges (BMesh *bm) |
| static int | edbm_bridge_edge_loops_for_single_editmesh (wmOperator *op, BMEditMesh *em, struct Mesh *me, const bool use_pairs, const bool use_cyclic, const bool use_merge, const float merge_factor, const int twist_offset) |
| static int | edbm_bridge_edge_loops_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_bridge_edge_loops (wmOperatorType *ot) |
Average Loop Normals Operator | |
| enum | { EDBM_CLNOR_AVERAGE_LOOP = 1 , EDBM_CLNOR_AVERAGE_FACE_AREA = 2 , EDBM_CLNOR_AVERAGE_ANGLE = 3 } |
| static EnumPropertyItem | average_method_items [] |
| static int | edbm_average_normals_exec (bContext *C, wmOperator *op) |
| static bool | average_normals_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *UNUSED(user_data)) |
| static void | edbm_average_normals_ui (bContext *C, wmOperator *op) |
| void | MESH_OT_average_normals (struct wmOperatorType *ot) |
Custom Normal Interface Tools Operator | |
| enum | { EDBM_CLNOR_TOOLS_COPY = 1 , EDBM_CLNOR_TOOLS_PASTE = 2 , EDBM_CLNOR_TOOLS_MULTIPLY = 3 , EDBM_CLNOR_TOOLS_ADD = 4 , EDBM_CLNOR_TOOLS_RESET = 5 } |
| static EnumPropertyItem | normal_vector_tool_items [] |
| static int | edbm_normals_tools_exec (bContext *C, wmOperator *op) |
| static bool | normals_tools_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *UNUSED(user_data)) |
| static void | edbm_normals_tools_ui (bContext *C, wmOperator *op) |
| void | MESH_OT_normals_tools (struct wmOperatorType *ot) |
Subdivide Operator | |
| static const EnumPropertyItem | prop_mesh_cornervert_types [] |
| static int | edbm_subdivide_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_subdivide (wmOperatorType *ot) |
Weighted Normal Modifier Face Strength | |
| static const EnumPropertyItem | prop_mesh_face_strength_types [] |
| static int | edbm_mod_weighted_strength_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_mod_weighted_strength (struct wmOperatorType *ot) |
| #define CLNORS_VALID_VEC_LEN (1e-4f) |
Definition at line 8004 of file editmesh_tools.c.
| #define ELE_EDGE_CUT 1 |
Definition at line 4000 of file editmesh_tools.c.
| #define KNIFE_EXACT 1 |
Definition at line 3820 of file editmesh_tools.c.
| #define KNIFE_MIDPOINT 2 |
Definition at line 3821 of file editmesh_tools.c.
| #define KNIFE_MULTICUT 3 |
Definition at line 3822 of file editmesh_tools.c.
| #define MAXSLOPE 100000 |
| #define USE_FACE_CREATE_SEL_EXTEND |
Definition at line 87 of file editmesh_tools.c.
| #define WM_MODALKEY | ( | _id | ) |
| typedef struct BMElemSort BMElemSort |
| anonymous enum |
| Enumerator | |
|---|---|
| MESH_DELETE_VERT | |
| MESH_DELETE_EDGE | |
| MESH_DELETE_FACE | |
| MESH_DELETE_EDGE_FACE | |
| MESH_DELETE_ONLY_FACE | |
Definition at line 420 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MESH_MERGE_LAST | |
| MESH_MERGE_CENTER | |
| MESH_MERGE_CURSOR | |
| MESH_MERGE_COLLAPSE | |
| MESH_MERGE_FIRST | |
Definition at line 3084 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MESH_SEPARATE_SELECTED | |
| MESH_SEPARATE_MATERIAL | |
| MESH_SEPARATE_LOOSE | |
Definition at line 4159 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| SRT_VIEW_ZAXIS | Use view Z (deep) axis. |
| SRT_VIEW_XAXIS | Use view X (left to right) axis. |
| SRT_CURSOR_DISTANCE | Use distance from element to 3D cursor. |
| SRT_MATERIAL | Face only: use mat number. |
| SRT_SELECTED | Move selected elements in first, without modifying relative order of selected and unselected elements. |
| SRT_RANDOMIZE | Randomize selected elements. |
| SRT_REVERSE | Reverse current order of selected elements. |
Definition at line 6288 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MESH_BRIDGELOOP_SINGLE | |
| MESH_BRIDGELOOP_CLOSED | |
| MESH_BRIDGELOOP_PAIRS | |
Definition at line 6945 of file editmesh_tools.c.
| anonymous enum |
Definition at line 7922 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| EDBM_CLNOR_POINTTO_MODE_COORDINATES | |
| EDBM_CLNOR_POINTTO_MODE_MOUSE | |
Definition at line 8012 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| EDBM_CLNOR_AVERAGE_LOOP | |
| EDBM_CLNOR_AVERAGE_FACE_AREA | |
| EDBM_CLNOR_AVERAGE_ANGLE | |
Definition at line 8728 of file editmesh_tools.c.
| anonymous enum |
| Enumerator | |
|---|---|
| EDBM_CLNOR_TOOLS_COPY | |
| EDBM_CLNOR_TOOLS_PASTE | |
| EDBM_CLNOR_TOOLS_MULTIPLY | |
| EDBM_CLNOR_TOOLS_ADD | |
| EDBM_CLNOR_TOOLS_RESET | |
Definition at line 8970 of file editmesh_tools.c.
|
static |
Definition at line 8896 of file editmesh_tools.c.
References EDBM_CLNOR_AVERAGE_LOOP, ptr, RNA_enum_get(), RNA_property_identifier(), and STREQ.
Referenced by edbm_average_normals_ui().
|
static |
Definition at line 3833 of file editmesh_tools.c.
References KNIFE_MULTICUT, len, max_ff(), MAXSLOPE, and min_ff().
Referenced by edbm_knife_cut_exec().
|
static |
Definition at line 4712 of file editmesh_tools.c.
References BM_elem_flag_test_bool, BM_ELEM_SELECT, and e.
Referenced by edbm_fill_grid_prepare().
|
static |
Definition at line 554 of file editmesh_tools.c.
References BM_edge_is_boundary(), BM_FACE_FIRST_LOOP, BMLoop::e, and BMLoop::next.
Referenced by edbm_delete_loose_exec().
Definition at line 1310 of file editmesh_tools.c.
References bm, BM_EDGE, BM_ELEM_SELECT, BM_vert_normal_update(), BMO_FLAG_DEFAULTS, BMO_op_exec(), BMO_op_finish(), BMO_op_init(), BMO_slot_buffer_alloc(), BMO_slot_buffer_hflag_enable(), BMOperator::slots_in, BMOperator::slots_out, BMesh::totedge, and verts.
Referenced by bm_vert_connect_select_history().
|
static |
Definition at line 1331 of file editmesh_tools.c.
References BLI_listbase_count_at_most(), bm, BM_edge_create(), BM_edge_exists(), BM_edge_select_set(), BM_VERT, bm_vert_connect_pair(), bm_vert_is_select_history_open(), BM_vert_is_wire(), BMVert::e, e, BMEditSelection::ele, ListBase::first, BMEditSelection::htype, if(), ListBase::last, BMEditSelection::next, NULL, BMesh::selected, BMesh::totvertsel, and v.
Referenced by edbm_vert_connect_path_exec().
|
static |
Convert an edge selection to a temp vertex selection (which must be cleared after use as a path to connect).
Definition at line 1435 of file editmesh_tools.c.
References bm, BM_EDGE, BM_edge_pair_share_face_by_len(), BM_select_history_store_head_notest, BM_select_history_store_notest, BMVert::co, BMEditSelection::ele, ListBase::first, BMEditSelection::htype, is_quad_flip_v3(), ListBase::last, BMEditSelection::next, NULL, BMEditSelection::prev, BMesh::selected, SWAP, BMesh::totedgesel, BMLoop::v, v, BMEdge::v1, and BMEdge::v2.
Referenced by edbm_vert_connect_path_exec().
|
static |
check that endpoints are verts and only have a single selected edge connected.
Definition at line 1294 of file editmesh_tools.c.
References bm, BM_EDGES_OF_VERT, BM_ELEM_SELECT, BM_iter_elem_count_flag(), BM_VERT, BMEditSelection::ele, ListBase::first, BMEditSelection::htype, ListBase::last, and BMesh::selected.
Referenced by bm_vert_connect_select_history().
|
static |
Definition at line 6313 of file editmesh_tools.c.
References BMElemSort::srt, v1, v2, and x2.
Referenced by sort_bmelem_flag().
Definition at line 8107 of file editmesh_tools.c.
References add_v3_v3(), bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, BMVert::co, mul_v3_fl(), v, and zero_v3().
Referenced by edbm_point_normals_modal(), and point_normals_apply().
|
static |
Definition at line 719 of file editmesh_tools.c.
References bm, BM_EDGES_OF_MESH, BM_elem_flag_test, BM_elem_flag_test_bool, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_ITER_MESH, and e.
Referenced by edbm_add_edge_face_exec(), and edbm_fill_grid_exec().
|
static |
Definition at line 897 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGE, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_FACE, BMO_op_exec(), BMO_slot_buffer_count(), BMO_slot_buffer_get_first(), BMO_slot_buffer_hflag_disable(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, edbm_add_edge_face__smooth_get(), edbm_add_edge_face_exec__tricky_extend_sel(), edbm_add_edge_face_exec__tricky_finalize_sel(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), BMEditMesh::mat_nr, MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, BMOperator::slots_out, BMesh::totedge, BMesh::totedgesel, BMesh::totface, and BMesh::totvertsel.
Referenced by MESH_OT_edge_face_add().
Definition at line 761 of file editmesh_tools.c.
References bm, BM_edge_exists(), BM_edge_is_boundary(), BM_edge_is_wire(), BM_edge_other_vert(), BM_edge_select_set(), BM_edge_share_face_check(), BM_EDGES_OF_MESH, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, e, edbm_add_edge_face_exec__vert_edge_lookup(), NULL, BMesh::totedgesel, BMesh::totfacesel, BMesh::totvertsel, and v.
Referenced by edbm_add_edge_face_exec().
|
static |
Definition at line 854 of file editmesh_tools.c.
References BLI_assert, bm, BM_edge_select_set(), BM_elem_flag_disable, BM_ELEM_HIDDEN, BM_face_edge_share_loop(), BM_face_select_set(), BM_face_vert_share_loop(), BM_select_history_clear(), BM_select_history_store, BM_VERT, BM_vert_select_set(), BMLoop::e, ELEM, BMElem::head, BMHeader::htype, l, BMFace::len, BMLoop::next, and BMLoop::v.
Referenced by edbm_add_edge_face_exec().
|
static |
Function used to get a fixed number of edges linked to a vertex that passes a test function. This is used so we can request all boundary edges connected to a vertex for eg.
Definition at line 740 of file editmesh_tools.c.
References BM_EDGES_OF_VERT, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ITER_ELEM, NULL, and v.
Referenced by edbm_add_edge_face_exec__tricky_extend_sel().
|
static |
Definition at line 8753 of file editmesh_tools.c.
References add_v3_v3(), BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BLI_heapsimple_free(), BLI_heapsimple_insert(), BLI_heapsimple_is_empty(), BLI_heapsimple_new(), BLI_heapsimple_pop_min(), BLI_heapsimple_top_value(), BLI_SMALLSTACK_DECLARE, BLI_SMALLSTACK_IS_EMPTY, BLI_SMALLSTACK_POP, BLI_SMALLSTACK_PUSH, BMEditMesh::bm, bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SELECT, BM_ELEM_TAG, BM_face_calc_area(), BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, BM_loop_calc_face_angle(), BM_loop_check_cyclic_smooth_fan(), BM_normals_loops_edges_tag(), BM_SPACEARR_DIRTY_ALL, BM_vert_step_fan_loop(), C, CD_CUSTOMLOOPNORMAL, CLNORS_VALID_VEC_LEN, compare_ff(), copy_v3_v3(), count, CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, BMLoop::e, EDBM_CLNOR_AVERAGE_ANGLE, EDBM_CLNOR_AVERAGE_FACE_AREA, EDBM_CLNOR_AVERAGE_LOOP, EDBM_update_generic(), BMLoop::f, float(), l, BMesh::ldata, BMesh::lnor_spacearr, MLoopNorSpaceArray::lspacearr, MEM_freeN, mul_v3_fl(), BMLoop::next, BMFace::no, normalize_v3(), NULL, OPERATOR_FINISHED, KDL::pow(), BMLoop::prev, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), RNA_int_get(), BMesh::spacearr_dirty, UNUSED_VARS_NDEBUG, BMLoop::v, and zero_v3().
Referenced by MESH_OT_average_normals().
|
static |
Definition at line 8915 of file editmesh_tools.c.
References average_normals_draw_check_prop(), C, CTX_wm_manager(), wmWindowManager::id, wmOperator::layout, NULL, wmOperator::properties, ptr, RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, uiDefAutoButsRNA(), and uiLayoutSetPropSep().
Referenced by MESH_OT_average_normals().
|
static |
Definition at line 5076 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_edge_calc_face_angle_ex(), BM_EDGES_OF_MESH, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_ITER_MESH, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, e, EDBM_op_call_and_selectf(), EDBM_update_generic(), M_PI, MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), and BMesh::totfacesel.
Referenced by MESH_OT_beautify_fill().
|
static |
Definition at line 3566 of file editmesh_tools.c.
References BKE_keyblock_find_name(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, blend(), BLI_findindex(), BLI_findlink(), Key::block, BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, C, CD_SHAPEKEY, BMVert::co, copy_v3_v3(), CTX_data_edit_object(), CTX_data_view_layer(), CTX_wm_view3d(), CustomData_bmesh_get_n(), CustomData_number_of_layers(), BMHeader::data, Object::data, EDBM_update_generic(), Mesh::edit_mesh, BMVert::head, interp_v3_v3v3(), Mesh::key, madd_v3_v3fl(), MEM_freeN, KeyBlock::name, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, KeyBlock::relative, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RPT_ERROR, sub_v3_v3v3(), BMesh::totvertsel, and BMesh::vdata.
Referenced by MESH_OT_blend_from_shape().
|
static |
Definition at line 3694 of file editmesh_tools.c.
References C, CTX_data_edit_object(), CTX_wm_manager(), Object::data, wmWindowManager::id, Mesh::key, wmOperator::layout, NULL, wmOperator::properties, ptr, RNA_id_pointer_create(), RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, uiItemPointerR(), uiItemR(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by MESH_OT_blend_from_shape().
|
static |
Definition at line 7104 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, edbm_bridge_edge_loops_for_single_editmesh(), MEM_freeN, MESH_BRIDGELOOP_CLOSED, MESH_BRIDGELOOP_PAIRS, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RNA_int_get(), BMesh::totvertsel, and type.
Referenced by MESH_OT_bridge_edge_loops().
|
static |
Definition at line 6993 of file editmesh_tools.c.
References BMEditMesh::bm, BM_elem_flag_enable, 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(), BMO_error_occurred(), BMO_FLAG_DEFAULTS, BMO_op_callf(), BMO_op_exec(), BMO_op_finish(), BMO_op_initf(), BMO_slot_buffer_hflag_enable(), EdgeRingOpSubdProps::cuts, DEL_FACES_KEEP_BOUNDARY, edbm_bridge_tag_boundary_edges(), EDBM_flag_disable_all(), EDBM_mesh_normals_update(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), EdgeRingOpSubdProps::interp_mode, MEM_freeN, MEM_mallocN, mesh_operator_edgering_props_get(), NULL, OPERATOR_FINISHED, EdgeRingOpSubdProps::profile_shape, EdgeRingOpSubdProps::profile_shape_factor, BMOperator::slots_out, EdgeRingOpSubdProps::smooth, and BMesh::totfacesel.
Referenced by edbm_bridge_edge_loops_exec().
|
static |
Definition at line 6951 of file editmesh_tools.c.
References bm, BM_EDGE, BM_edge_is_boundary(), BM_edge_is_wire(), BM_EDGES_OF_MESH, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_FACES_OF_EDGE, BM_ITER_ELEM, BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), and e.
Referenced by edbm_bridge_edge_loops_for_single_editmesh().
|
static |
Definition at line 671 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, and BMesh::totedgesel.
Referenced by MESH_OT_edge_collapse().
|
static |
Definition at line 1160 of file editmesh_tools.c.
References BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGE, BM_elem_cb_check_hflag_disabled_simple, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ITER_MESH, BM_vert_pair_share_face_check_cb(), BM_VERTS_OF_MESH, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), BMO_slot_get(), EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_update_generic(), BMOpSlot::len, len, MEM_freeN, MEM_mallocN, BMOperator::slots_out, BMesh::totvertsel, v, and verts.
Referenced by edbm_vert_connect_exec(), and edbm_vert_connect_path_exec().
|
static |
Definition at line 5612 of file editmesh_tools.c.
Referenced by MESH_OT_decimate().
|
static |
Calculate a new ratio based on faces that could be removed during decimation. needed so 0..1 has a meaningful range when operating on the selection.
This doesn't have to be totally accurate, but needs to be greater than the number of selected faces
Definition at line 5491 of file editmesh_tools.c.
References Object::actdef, BKE_defvert_find_weight(), BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_elem_index_get, BM_elem_index_set, BM_ELEM_SELECT, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_mesh_decimate_collapse(), BM_VERT, BM_VERTS_OF_MESH, C, CD_MDEFORMVERT, CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, EDBM_selectmode_flush_ex(), EDBM_update_generic(), BMesh::elem_index_dirty, float(), BMFace::len, MEM_freeN, MEM_mallocN, BMLoop::next, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RPT_WARNING, SCE_SELECT_EDGE, SCE_SELECT_VERTEX, BMEditMesh::selectmode, BMesh::totedgesel, BMesh::totface, BMesh::totfacesel, BMesh::totvert, BMLoop::v, v, and BMesh::vdata.
Referenced by MESH_OT_decimate().
|
static |
Definition at line 5617 of file editmesh_tools.c.
References C, col, CTX_wm_manager(), wmWindowManager::id, IFACE_, wmOperator::layout, NULL, wmOperator::properties, ptr, RNA_boolean_get(), RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutRowWithHeading(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by MESH_OT_decimate().
|
static |
Definition at line 6147 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGES_OF_MESH, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_hflag_enable_test(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, e, EDBM_op_callf(), EDBM_selectmode_flush_ex(), EDBM_update_generic(), BMLoop::f, MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, BMLoop::radial_next, RNA_boolean_get(), SCE_SELECT_VERTEX, and BMesh::totedgesel.
Referenced by MESH_OT_delete_edgeloop().
|
static |
Definition at line 440 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), DEL_EDGES, DEL_EDGESFACES, DEL_FACES, DEL_ONLYFACES, DEL_VERTS, EDBM_flag_disable_all(), EDBM_op_callf(), EDBM_update_generic(), ID_RECALC_SELECT, MEM_freeN, MESH_DELETE_EDGE, MESH_DELETE_EDGE_FACE, MESH_DELETE_FACE, MESH_DELETE_ONLY_FACE, MESH_DELETE_VERT, NC_GEOM, ND_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), BMesh::totedgesel, BMesh::totfacesel, BMesh::totvertsel, type, and WM_event_add_notifier().
Referenced by MESH_OT_delete().
|
static |
Definition at line 568 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_EDGE, BM_edge_is_wire(), BM_EDGES_OF_MESH, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, bm_face_is_loose(), BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_delete_hflag_context(), BM_mesh_elem_hflag_disable_all(), BM_VERT, BM_VERTS_OF_MESH, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEL_EDGES, DEL_FACES, DEL_VERTS, BMVert::e, e, EDBM_flag_disable_all(), EDBM_mesh_stats_multi(), edbm_report_delete_info(), EDBM_update_generic(), MEM_freeN, NULL, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), and v.
Referenced by MESH_OT_delete_loose().
|
static |
Definition at line 6069 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), edbm_report_delete_info(), EDBM_select_flush(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_float_get(), BMesh::totedge, BMesh::totface, and BMesh::totvert.
Referenced by MESH_OT_dissolve_degenerate().
|
static |
Definition at line 5779 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totedgesel.
Referenced by edbm_dissolve_mode_exec(), and MESH_OT_dissolve_edges().
|
static |
Definition at line 5841 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_call_and_selectf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totfacesel.
Referenced by edbm_dissolve_mode_exec(), and MESH_OT_dissolve_faces().
|
static |
Definition at line 5948 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGES_OF_MESH, BM_elem_flag_disable, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_VERTS_OF_MESH, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, BMLoop::e, EDBM_op_call_and_selectf(), EDBM_update_generic(), l, MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), SCE_SELECT_FACE, BMEditMesh::selectmode, BMesh::totedgesel, BMesh::totfacesel, BMesh::totvertsel, and BMLoop::v.
Referenced by MESH_OT_dissolve_limited().
|
static |
Definition at line 5900 of file editmesh_tools.c.
References BKE_editmesh_from_object(), C, CTX_data_edit_object(), edbm_dissolve_edges_exec(), edbm_dissolve_faces_exec(), edbm_dissolve_verts_exec(), wmOperator::ptr, RNA_property_boolean_set(), RNA_property_is_set(), RNA_struct_find_property(), SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, and BMEditMesh::selectmode.
Referenced by MESH_OT_dissolve_mode().
|
static |
Definition at line 5708 of file editmesh_tools.c.
References ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by MESH_OT_dissolve_mode(), and MESH_OT_dissolve_verts().
|
static |
Definition at line 5700 of file editmesh_tools.c.
References ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by MESH_OT_dissolve_edges(), MESH_OT_dissolve_mode(), and MESH_OT_dissolve_verts().
|
static |
Definition at line 5689 of file editmesh_tools.c.
References ot, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by MESH_OT_dissolve_edges(), MESH_OT_dissolve_faces(), and MESH_OT_dissolve_mode().
|
static |
Definition at line 5717 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totvertsel.
Referenced by edbm_dissolve_mode_exec(), and MESH_OT_dissolve_verts().
|
static |
Definition at line 2615 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_MESH, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), EDBM_verts_mirror_apply(), EDBM_verts_mirror_cache_begin(), EDBM_verts_mirror_cache_end(), Mesh::editflag, BMFace::len, ME_EDIT_MIRROR_TOPO, ME_SYMMETRY_X, MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RNA_int_get(), RPT_WARNING, and BMesh::totvertsel.
Referenced by MESH_OT_vertices_smooth_laplacian().
|
static |
Definition at line 2491 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), EDBM_verts_mirror_apply(), EDBM_verts_mirror_cache_begin(), EDBM_verts_mirror_cache_end(), Mesh::editflag, eModifierMode_Realtime, eModifierType_Mirror, MirrorModifierData::flag, LISTBASE_FOREACH, ME_EDIT_MIRROR_TOPO, ME_SYMMETRY_X, MEM_freeN, MOD_MIR_AXIS_X, MOD_MIR_AXIS_Y, MOD_MIR_AXIS_Z, MOD_MIR_CLIPPING, Object::modifiers, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), RNA_int_get(), MirrorModifierData::tolerance, and BMesh::totvertsel.
Referenced by MESH_OT_vertices_smooth().
|
static |
Definition at line 1920 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ALL_NOLOOP, BM_ELEM_SELECT, BM_SELECT_HISTORY_BACKUP, BM_SELECT_HISTORY_RESTORE, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_flag_disable_all(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, BMOperator::slots_out, and BMesh::totvertsel.
Referenced by edbm_duplicate_invoke(), and MESH_OT_duplicate().
|
static |
Definition at line 1968 of file editmesh_tools.c.
References C, edbm_duplicate_exec(), OPERATOR_FINISHED, and WM_cursor_wait().
Referenced by MESH_OT_duplicate().
|
static |
Rotate the edges between selected faces, otherwise rotate the selected edges.
Definition at line 2178 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_reportf(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGE, BM_edge_face_pair(), BM_EDGES_OF_MESH, BM_elem_flag_disable, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ELEM_TAG, BM_ITER_MESH, BM_mesh_elem_hflag_enable_test(), BMO_op_exec(), BMO_slot_buffer_count(), BMO_slot_buffer_hflag_disable(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_update_generic(), fb(), MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, RPT_WARNING, BMOperator::slots_in, BMOperator::slots_out, and BMesh::totedgesel.
Referenced by MESH_OT_edge_rotate().
|
static |
Definition at line 1853 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BM_EDGE, BM_VERT, C, CTX_data_view_layer(), CTX_wm_view3d(), edbm_edge_split_selected_edges(), edbm_edge_split_selected_verts(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and type.
Referenced by MESH_OT_edge_split().
|
static |
Definition at line 1761 of file editmesh_tools.c.
References BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, Object::data, EDBM_op_call_and_selectf(), EDBM_select_flush(), EDBM_update_generic(), and BMesh::totedgesel.
Referenced by edbm_edge_split_exec().
|
static |
Definition at line 1783 of file editmesh_tools.c.
References BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_DISK_EDGE_NEXT, BM_EDGES_OF_MESH, BM_elem_flag_disable, BM_elem_flag_enable, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ELEM_TAG, BM_ITER_MESH, BM_vert_select_set(), BM_vert_separate(), Object::data, EDBM_op_callf(), EDBM_select_flush(), EDBM_update_generic(), BMEdge::l, NULL, BMLoop::radial_next, BMesh::totvertsel, BMLoop::v, v, BMEdge::v1, and BMEdge::v2.
Referenced by edbm_edge_split_exec().
|
static |
Definition at line 1703 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), RNA_int_get(), and BMesh::totfacesel.
Referenced by MESH_OT_face_make_planar().
|
static |
Definition at line 2818 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), MEM_freeN, mesh_set_smooth_faces(), OPERATOR_FINISHED, and BMesh::totfacesel.
Referenced by MESH_OT_faces_shade_flat().
|
static |
Definition at line 2775 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), MEM_freeN, mesh_set_smooth_faces(), OPERATOR_FINISHED, and BMesh::totfacesel.
Referenced by MESH_OT_faces_shade_smooth().
|
static |
Definition at line 4628 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGE, BM_ELEM_SELECT, BM_FACE, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, RPT_WARNING, BMOperator::slots_out, BMesh::totedgesel, and BMesh::totface.
Referenced by MESH_OT_fill().
|
static |
Definition at line 4880 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), edbm_add_edge_face__smooth_get(), edbm_fill_grid_prepare(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), wmOperator::flag, Object::id, BMEditMesh::mat_nr, MEM_freeN, OP_IS_INVOKE, OP_IS_REPEAT_LAST, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_property_int_get(), RNA_property_int_set(), RNA_property_is_set(), RNA_struct_find_property(), BMOperator::slots_out, BMesh::totedge, BMesh::totedgesel, and BMesh::totface.
Referenced by MESH_OT_fill_grid().
|
static |
non-essential utility function to select 2 open edge loops from a closed loop.
Definition at line 4736 of file editmesh_tools.c.
References angle(), BLI_findlink(), BLI_findptr(), BLI_listbase_rotate_first(), BLI_sortutil_cmp_float_reverse(), bm, bm_edge_test_fill_grid_cb(), BM_edgeloop_edges_get(), BM_edgeloop_is_closed(), BM_edgeloop_length_get(), BM_edgeloop_verts_get(), BM_EDGES_OF_MESH, BM_elem_flag_disable, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_TAG, BM_ITER_MESH, BM_mesh_active_vert_get(), BM_mesh_edgeloops_find(), BM_mesh_edgeloops_free(), count, SortPtrByFloat::data, data, LinkData::data, e, edbm_fill_grid_vert_tag_angle(), ListBase::first, MEM_freeN, MEM_mallocN, min_ii(), mod_i(), LinkData::next, next, NULL, SortPtrByFloat::sort_value, v, and verts.
Referenced by edbm_fill_grid_exec().
Definition at line 4717 of file editmesh_tools.c.
References angle_v3v3v3(), BLI_assert, BM_edge_other_vert(), BM_EDGES_OF_VERT, BM_elem_flag_test, BM_ELEM_TAG, BM_ITER_ELEM, BMVert::co, fabsf, M_PI, and v.
Referenced by edbm_fill_grid_prepare().
|
static |
Definition at line 5016 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_call_and_selectf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), and BMesh::totedgesel.
Referenced by MESH_OT_fill_holes().
|
static |
Definition at line 2087 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_lnor_space_custom_normal_to_data(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ELEM_SELECT, BM_lnorspace_update(), BM_loop_normal_editdata_array_free(), BM_loop_normal_editdata_array_init(), C, CD_CUSTOMLOOPNORMAL, BMLoopNorEditData::clnors_data, CTX_data_view_layer(), CTX_wm_view3d(), CustomData_has_layer(), Object::data, EDBM_op_callf(), EDBM_update_generic(), flip_custom_normals(), flip_custom_normals_init_data(), BMesh::ldata, BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loop_index, MLoopNorSpaceArray::lspacearr, MEM_freeN, negate_v3(), BMLoopNorEditData::nloc, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), BMesh::totfacesel, and BMLoopNorEditDataArray::totloop.
Referenced by MESH_OT_flip_normals().
|
static |
Definition at line 2306 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_mesh_hide(), EDBM_update_generic(), MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, BMEditMesh::selectmode, BMesh::totedge, BMesh::totedgesel, BMesh::totface, BMesh::totfacesel, BMesh::totvert, and BMesh::totvertsel.
Referenced by MESH_OT_hide().
|
static |
Definition at line 4002 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGE, bm_edge_seg_isect(), BM_EDGES_OF_MESH, BM_elem_flag_test, BM_elem_index_get, BM_elem_index_set, BM_ELEM_SELECT, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_VERT, BM_VERTS_OF_MESH, BMO_edge_flag_set, BMO_op_exec(), BMO_slot_bool_set(), BMO_slot_buffer_from_enabled_flag(), BMO_slot_float_set(), BMO_slot_get(), BMO_slot_int_set(), BMO_slot_map_float_insert(), C, BMVert::co, copy_v2_fl(), CTX_data_edit_object(), CTX_wm_region(), Object::data, ED_view3d_init_mats_rv3d(), ED_view3d_project_float_object(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), ELE_EDGE_CUT, ELEM, BMesh::elem_index_dirty, float(), KNIFE_MIDPOINT, KNIFE_MULTICUT, len, MEM_freeN, MEM_mallocN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, ARegion::regiondata, wmOperator::reports, RNA_BEGIN, RNA_collection_length(), RNA_END, RNA_float_get_array(), RNA_int_get(), RPT_ERROR, BMOperator::slots_in, SUBD_CORNER_STRAIGHT_CUT, BMesh::totvert, BMesh::totvertsel, BMEdge::v1, BMEdge::v2, V3D_PROJ_RET_OK, and V3D_PROJ_TEST_CLIP_NEAR.
Referenced by MESH_OT_knife_cut().
|
static |
Definition at line 1007 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_EDGES_OF_MESH, BM_elem_flag_disable, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SEAM, BM_ELEM_SELECT, BM_ITER_MESH, C, clear(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, ED_uvedit_live_unwrap(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), scene, and BMesh::totedgesel.
Referenced by MESH_OT_mark_seam().
|
static |
Definition at line 1086 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_EDGES_OF_MESH, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_ITER_MESH, C, clear(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), BMesh::totedgesel, BMesh::totvertsel, BMEdge::v1, and BMEdge::v2.
Referenced by MESH_OT_mark_sharp().
|
static |
Definition at line 3198 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_flag_disable_all(), EDBM_op_callf(), EDBM_update_generic(), ELEM, MEM_freeN, merge_firstlast(), merge_target(), MESH_MERGE_CENTER, MESH_MERGE_COLLAPSE, MESH_MERGE_CURSOR, MESH_MERGE_FIRST, MESH_MERGE_LAST, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), SCE_SELECT_VERTEX, scene, BMEditMesh::selectmode, BMesh::totvertsel, and type.
Referenced by MESH_OT_merge().
|
static |
Definition at line 8682 of file editmesh_tools.c.
References C, and normals_split_merge().
Referenced by MESH_OT_merge_normals().
|
static |
Definition at line 9438 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_data_layer_add_named(), BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACE, BM_face_select_set(), BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_elem_index_ensure(), BM_select_history_clear(), BM_select_history_store, C, CD_PROP_INT32, CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_layer_index(), CustomData_get_n_offset(), CustomData_get_named_layer_index(), Object::data, EDBM_update_generic(), MEM_freeN, MOD_WEIGHTEDNORMALS_FACEWEIGHT_CDLAYER_ID, OPERATOR_FINISHED, BMesh::pdata, wmOperator::ptr, RNA_boolean_get(), and RNA_enum_get().
Referenced by MESH_OT_mod_weighted_strength().
|
static |
Definition at line 2426 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BM_loop_normal_editdata_array_free(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_callf(), EDBM_update_generic(), flip_custom_normals(), flip_custom_normals_init_data(), MEM_freeN, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totfacesel.
Referenced by MESH_OT_normals_make_consistent().
|
static |
Definition at line 8995 of file editmesh_tools.c.
References absolute(), add_v3_v3(), BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BKE_lnor_space_custom_normal_to_data(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert, BMEditMesh::bm, bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_MESH, BM_loop_normal_editdata_array_free(), BM_loop_normal_editdata_array_init(), C, BMLoopNorEditData::clnors_data, CLNORS_VALID_VEC_LEN, compare_v3v3(), copy_v3_v3(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_CLNOR_TOOLS_ADD, EDBM_CLNOR_TOOLS_COPY, EDBM_CLNOR_TOOLS_MULTIPLY, EDBM_CLNOR_TOOLS_PASTE, EDBM_CLNOR_TOOLS_RESET, EDBM_update_generic(), BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loc, BMLoopNorEditData::loop_index, MLoopNorSpaceArray::lspacearr, MEM_freeN, mul_v3_v3(), negate_v3(), BMLoopNorEditData::niloc, BMLoopNorEditData::nloc, BMFace::no, ToolSettings::normal_vector, normalize_v3(), OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, scene, Scene::toolsettings, BMesh::totfacesel, BMesh::totloop, BMLoopNorEditDataArray::totloop, BMesh::totvertsel, and zero_v3().
Referenced by MESH_OT_normals_tools().
|
static |
Definition at line 9161 of file editmesh_tools.c.
References C, CTX_wm_manager(), wmWindowManager::id, wmOperator::layout, normals_tools_draw_check_prop(), NULL, wmOperator::properties, ptr, RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, and uiDefAutoButsRNA().
Referenced by MESH_OT_normals_tools().
|
static |
If in face-only select mode, switch to edge select mode so that an edge-only selection is not inconsistent state.
We need to run this for all objects, even when nothing is selected. This way we keep them in sync.
Definition at line 7290 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_bases_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_VERT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_disable_multi_ex(), EDBM_update_generic(), MEM_freeN, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SCE_SELECT_EDGE, SCE_SELECT_FACE, scene, ToolSettings::selectmode, BMOperator::slots_out, Scene::toolsettings, and BMesh::totedgesel.
Referenced by MESH_OT_offset_edge_loops().
|
static |
Definition at line 8399 of file editmesh_tools.c.
References C, CTX_data_edit_object(), Object::data, EDBM_update_generic(), OPERATOR_CANCELLED, OPERATOR_FINISHED, point_normals_apply(), point_normals_cancel(), point_normals_init(), wmOperator::ptr, and RNA_float_get_array().
Referenced by MESH_OT_point_normals().
|
static |
Definition at line 8383 of file editmesh_tools.c.
References C, wmOperator::flag, OP_IS_MODAL_GRAB_CURSOR, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, point_normals_cancel(), point_normals_init(), point_normals_update_header(), and WM_event_add_modal_handler().
Referenced by MESH_OT_point_normals().
|
static |
Definition at line 8177 of file editmesh_tools.c.
References add_v3_v3(), BKE_editmesh_from_object(), BKE_report(), BMEditMesh::bm, bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, bmesh_selected_verts_center_calc(), C, center, BMVert::co, copy_v3_v3(), CTX_data_edit_object(), CTX_data_scene(), CTX_wm_region(), CTX_wm_view3d(), Scene::cursor, Object::data, ED_object_calc_active_center_for_editmode(), ED_view3d_cursor3d_update(), ED_view3d_win_to_3d_int(), EDBM_CLNOR_MODAL_CANCEL, EDBM_CLNOR_MODAL_CONFIRM, EDBM_CLNOR_MODAL_POINTTO_ALIGN, EDBM_CLNOR_MODAL_POINTTO_INVERT, EDBM_CLNOR_MODAL_POINTTO_RESET, EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR, EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED, EDBM_CLNOR_MODAL_POINTTO_SPHERIZE, EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE, EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT, EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT, EDBM_CLNOR_POINTTO_MODE_COORDINATES, EDBM_CLNOR_POINTTO_MODE_MOUSE, EDBM_select_pick(), EDBM_update_generic(), ELEM, EVT_MODAL_MAP, INBETWEEN_MOUSEMOVE, Object::loc, View3DCursor::location, max, mid_v3_v3v3(), min, minmax_v3v3_v3(), MOUSEMOVE, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, point_normals_apply(), point_normals_cancel(), point_normals_ensure(), point_normals_free(), point_normals_update_header(), wmOperator::ptr, wmOperator::reports, ret, RNA_enum_get(), RNA_enum_set(), RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_float_get_array(), RNA_property_float_set_array(), RNA_struct_find_property(), RPT_WARNING, scene, Scene::toolsettings, ToolSettings::transform_pivot_point, wmOperator::type, wmEvent::type, v, V3D_AROUND_ACTIVE, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_CURSOR, V3D_CURSOR_ORIENT_NONE, wmEvent::val, view3d_operator_needs_opengl(), WM_operator_poll(), and zero_v3().
Referenced by MESH_OT_point_normals().
|
static |
Definition at line 8437 of file editmesh_tools.c.
References C, CTX_wm_manager(), wmWindowManager::id, wmOperator::layout, NULL, point_normals_draw_check_prop(), wmOperator::properties, ptr, RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, uiDefAutoButsRNA(), and uiLayoutSetPropSep().
Referenced by MESH_OT_point_normals().
|
static |
Definition at line 5165 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BM_FACE, BM_VERT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_flag_disable_all(), EDBM_mesh_normals_update(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), BMOperator::slots_out, and BMesh::totfacesel.
Referenced by MESH_OT_poke().
|
static |
Definition at line 5260 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, BM_FACE, BM_face_kill(), BMO_ITER, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), BMOperator::slots_out, and BMesh::totfacesel.
Referenced by MESH_OT_quads_convert_to_tris().
|
static |
Definition at line 3355 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_reportf(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGE, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_enable_test(), BM_VERT, BMO_op_exec(), BMO_op_finish(), C, count, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_automerge(), EDBM_op_callf(), EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RPT_INFO, SCE_SELECT_EDGE, SCE_SELECT_VERTEX, BMEditMesh::selectmode, BMesh::totvert, and BMesh::totvertsel.
Referenced by MESH_OT_remove_doubles().
|
static |
Definition at line 428 of file editmesh_tools.c.
References BKE_reportf(), and RPT_INFO.
Referenced by edbm_delete_loose_exec(), and edbm_dissolve_degenerate_exec().
|
static |
Definition at line 2382 of file editmesh_tools.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, EDBM_mesh_reveal(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and select().
Referenced by MESH_OT_reveal().
|
static |
Definition at line 2969 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BMO_op_exec(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, and BMesh::totfacesel.
Referenced by MESH_OT_colors_reverse().
|
static |
Definition at line 2897 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BMO_op_exec(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, and BMesh::totfacesel.
Referenced by MESH_OT_uvs_reverse().
|
static |
Definition at line 2930 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BMO_op_exec(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totfacesel.
Referenced by MESH_OT_colors_rotate().
|
static |
Definition at line 2861 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BMO_op_exec(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and BMesh::totfacesel.
Referenced by MESH_OT_uvs_rotate().
|
static |
Definition at line 4478 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_bases_in_edit_mode_unique_data, BLI_assert, BMEditMesh::bm, bm_mesh_allocsize_default, BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_create(), BM_mesh_free(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), ED_operator_editmesh(), ED_outliner_select_sync_from_object_tag(), EDBM_update_generic(), Mesh::id, ID_IS_LINKED, ID_RECALC_GEOMETRY, MEM_freeN, MESH_SEPARATE_LOOSE, mesh_separate_loose(), MESH_SEPARATE_MATERIAL, mesh_separate_material(), MESH_SEPARATE_SELECTED, mesh_separate_selected(), NC_GEOM, NC_OBJECT, ND_DATA, ND_DRAW, NULL, OB_MESH, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, scene, BMesh::totedgesel, BMesh::totfacesel, BMesh::totvertsel, type, Object::type, and WM_event_add_notifier().
Referenced by MESH_OT_separate().
|
static |
Definition at line 9209 of file editmesh_tools.c.
References add_v3_v3(), BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BKE_lnor_space_custom_normal_to_data(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_BITMAP_ENABLE, BLI_BITMAP_NEW, BLI_BITMAP_TEST, BMEditMesh::bm, bm, BM_EDGES_OF_FACE, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_face_vert_share_loop(), BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_ITER_MESH_INDEX, BM_LOOPS_OF_VERT, BM_VERTS_OF_EDGE, BM_VERTS_OF_FACE, BM_VERTS_OF_MESH, C, CD_CUSTOMLOOPNORMAL, CLNORS_VALID_VEC_LEN, CTX_data_view_layer(), CTX_wm_view3d(), CustomData_get_offset(), Object::data, e, EDBM_update_generic(), MLoopNorSpace::flags, float(), is_zero_v3(), l, BMesh::ldata, LinkNode::link, BMesh::lnor_spacearr, MLoopNorSpace::loops, MLoopNorSpaceArray::lspacearr, MEM_callocN, MEM_freeN, MLNOR_SPACE_IS_SINGLE, LinkNode::next, BMFace::no, normalize_v3(), OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), BMesh::totloop, BMesh::totvert, BMLoop::v, v, and zero_v3().
Referenced by MESH_OT_set_normals_from_faces().
|
static |
Definition at line 3502 of file editmesh_tools.c.
References BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), Mesh::edit_mesh, MEM_freeN, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, shape_propagate(), and BMesh::totvertsel.
Referenced by MESH_OT_shape_propagate_to_all().
|
static |
Definition at line 9322 of file editmesh_tools.c.
References add_v3_v3(), BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, BM_FACES_OF_VERT, BM_ITER_ELEM, BM_loop_normal_editdata_array_free(), BM_loop_normal_editdata_array_init(), BM_LOOPS_OF_FACE, C, BMLoopNorEditDataArray::cd_custom_normal_offset, BMLoopNorEditData::clnors_data, CLNORS_VALID_VEC_LEN, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), float(), l, BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loop, BMLoopNorEditData::loop_index, MLoopNorSpaceArray::lspacearr, MEM_callocN, MEM_freeN, mul_v3_fl(), normalize_v3(), OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), BMLoopNorEditDataArray::totloop, and BMLoop::v.
Referenced by MESH_OT_smooth_normals().
|
static |
Definition at line 3748 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ELEM_SELECT, BM_FACE, BMO_op_exec(), BMO_slot_buffer_hflag_disable(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), BMOperator::slots_in, BMOperator::slots_out, and BMesh::totfacesel.
Referenced by MESH_OT_solidify().
|
static |
Definition at line 6771 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_ghashutil_strhash_p(), BMEditMesh::bm, bm, BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_VERT, C, CTX_data_edit_object(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), ED_view3d_context_rv3d(), ELEM, Object::id, MEM_freeN, ID::name, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RNA_int_get(), RNA_property_enum_get(), RNA_property_is_set(), RNA_struct_find_property(), RPT_ERROR, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, scene, seed, BMEditMesh::selectmode, sort_bmelem_flag(), SRT_VIEW_XAXIS, SRT_VIEW_ZAXIS, BMesh::totedgesel, BMesh::totfacesel, and BMesh::totvertsel.
Referenced by MESH_OT_sort_elements().
|
static |
Definition at line 6840 of file editmesh_tools.c.
References ELEM, wmOperator::ptr, RNA_enum_get(), RNA_property_identifier(), SRT_RANDOMIZE, SRT_REVERSE, and STREQ.
Referenced by MESH_OT_sort_elements().
|
static |
Definition at line 6227 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ALL_NOLOOP, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_VERT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_mesh_normals_update(), EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, BMOperator::slots_out, BMesh::totedgesel, BMesh::totfacesel, and BMesh::totvertsel.
Referenced by MESH_OT_split().
|
static |
Definition at line 8702 of file editmesh_tools.c.
References C, and normals_split_merge().
Referenced by MESH_OT_split_normals().
|
static |
Definition at line 295 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), EdgeRingOpSubdProps::cuts, Object::data, EDBM_op_callf(), EDBM_update_generic(), EdgeRingOpSubdProps::interp_mode, MEM_freeN, mesh_operator_edgering_props_get(), OPERATOR_FINISHED, EdgeRingOpSubdProps::profile_shape, EdgeRingOpSubdProps::profile_shape_factor, EdgeRingOpSubdProps::smooth, and BMesh::totedgesel.
Referenced by MESH_OT_subdivide_edgering().
|
static |
Definition at line 93 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, BM_mesh_esubdivide(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RNA_float_get(), RNA_int_get(), seed, SUBD_CORNER_INNERVERT, SUBD_CORNER_STRAIGHT_CUT, SUBD_FALLOFF_LIN, SUBDIV_SELECT_ORIG, BMesh::totedgesel, and BMesh::totfacesel.
Referenced by MESH_OT_subdivide().
|
static |
Definition at line 5351 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG2RADF, EDBM_mesh_stats_multi(), EDBM_op_call_and_selectf(), EDBM_update_generic(), MEM_freeN, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_property_float_get(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by MESH_OT_tris_convert_to_quads().
|
static |
Definition at line 358 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode, BMEditMesh::bm, BM_ELEM_SELECT, BMO_op_exec(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_selectmode_flush_ex(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), SCE_SELECT_VERTEX, BMEditMesh::selectmode, BMesh::totedgesel, BMesh::totfacesel, and BMesh::totvertsel.
Referenced by MESH_OT_unsubdivide().
|
static |
Definition at line 1588 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_call_and_selectf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, and BMesh::totfacesel.
Referenced by MESH_OT_vert_connect_concave().
|
static |
Definition at line 1250 of file editmesh_tools.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, edbm_connect_vert_pair(), MEM_freeN, OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by MESH_OT_vert_connect().
|
static |
Definition at line 1634 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ELEM_SELECT, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_call_and_selectf(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), and BMesh::totfacesel.
Referenced by MESH_OT_vert_connect_nonplanar().
|
static |
Definition at line 1497 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_listbase_is_empty(), BMEditMesh::bm, bm, BM_custom_loop_normals_from_vector_layer(), BM_custom_loop_normals_to_vector_layer(), BM_EDGE, BM_select_history_clear(), bm_vert_connect_select_history(), bm_vert_connect_select_history_edge_to_vert_path(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, edbm_connect_vert_pair(), EDBM_selectmode_flush(), EDBM_update_generic(), ListBase::first, BMEditSelection::htype, MEM_freeN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, BMesh::selected, SWAP, and BMesh::totvertsel.
Referenced by MESH_OT_vert_connect_path().
|
static |
Definition at line 7181 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_VERT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_op_finish(), EDBM_op_init(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), BMOperator::slots_out, and BMesh::totfacesel.
Referenced by MESH_OT_wireframe().
|
static |
Definition at line 2008 of file editmesh_tools.c.
References BKE_lnor_space_custom_normal_to_data(), BLI_assert, bm, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SELECT, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, BM_lnorspace_update(), BM_loop_normal_editdata_array_free(), BM_loop_normal_editdata_array_init(), BM_SPACEARR_DIRTY_ALL, BMLoopNorEditData::clnors_data, l, BMLoopNorEditDataArray::lidx_to_lnor_editdata, BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loop_index, MLoopNorSpaceArray::lspacearr, negate_v3(), BMLoopNorEditData::nloc, NULL, BMLoop::prev, BMesh::spacearr_dirty, and BMLoopNorEditDataArray::totloop.
Referenced by edbm_flip_normals_exec(), and edbm_normals_make_consistent_exec().
|
static |
Definition at line 1994 of file editmesh_tools.c.
References bm, BM_lnorspace_update(), BM_loop_normal_editdata_array_init(), CD_CUSTOMLOOPNORMAL, CustomData_has_layer(), BMesh::ldata, and NULL.
Referenced by edbm_flip_normals_exec(), and edbm_normals_make_consistent_exec().
|
static |
Definition at line 5428 of file editmesh_tools.c.
References DEG2RADF, NULL, ot, RNA_def_boolean(), RNA_def_float_rotation(), RNA_def_property_float_default(), and wmOperatorType::srna.
Referenced by MESH_OT_tris_convert_to_quads().
|
static |
Definition at line 3092 of file editmesh_tools.c.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_VERT, BMVert::co, EDBM_op_callf(), BMEditSelection::ele, ListBase::first, ListBase::last, and BMesh::selected.
Referenced by edbm_merge_exec().
|
static |
Definition at line 3142 of file editmesh_tools.c.
References add_v3_v3(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, BMVert::co, copy_v3_v3(), Scene::cursor, EDBM_op_callf(), float(), Object::imat, invert_m4_m4(), View3DCursor::location, mul_m4_v3(), mul_v3_fl(), NULL, Object::obmat, scene, and v.
Referenced by edbm_merge_exec().
|
static |
Definition at line 3272 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BMEditMesh::bm, BM_VERT, C, CTX_data_edit_object(), ListBase::first, ListBase::last, merge_type_items, MESH_MERGE_CENTER, MESH_MERGE_COLLAPSE, MESH_MERGE_CURSOR, MESH_MERGE_FIRST, MESH_MERGE_LAST, NULL, OB_MESH, RNA_enum_item_end(), RNA_enum_items_add_value(), SCE_SELECT_VERTEX, BMesh::selected, BMEditMesh::selectmode, and Object::type.
Referenced by MESH_OT_merge().
|
static |
Definition at line 239 of file editmesh_tools.c.
References BLT_I18NCONTEXT_ID_CURVE, NULL, ot, PROP_ENUM, PROP_NONE, PROP_SKIP_SAVE, PROP_SMOOTH, RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property(), RNA_def_property_enum_default(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), rna_enum_proportional_falloff_curve_only_items, wmOperatorType::srna, SUBD_RING_INTERP_LINEAR, SUBD_RING_INTERP_PATH, and SUBD_RING_INTERP_SURF.
Referenced by MESH_OT_bridge_edge_loops(), and MESH_OT_subdivide_edgering().
|
static |
Definition at line 285 of file editmesh_tools.c.
References EdgeRingOpSubdProps::cuts, EdgeRingOpSubdProps::interp_mode, EdgeRingOpSubdProps::profile_shape, EdgeRingOpSubdProps::profile_shape_factor, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), RNA_int_get(), and EdgeRingOpSubdProps::smooth.
Referenced by edbm_bridge_edge_loops_for_single_editmesh(), and edbm_subdivide_edge_ring_exec().
| void MESH_OT_average_normals | ( | struct wmOperatorType * | ot | ) |
Definition at line 8929 of file editmesh_tools.c.
References average_method_items, wmOperatorType::description, ED_operator_editmesh(), edbm_average_normals_exec(), edbm_average_normals_ui(), EDBM_CLNOR_AVERAGE_LOOP, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), RNA_def_int(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_beautify_fill | ( | wmOperatorType * | ot | ) |
Definition at line 5129 of file editmesh_tools.c.
References DEG2RADF, wmOperatorType::description, ED_operator_editmesh(), edbm_beautify_fill_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_rotation(), RNA_def_property_float_default(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_blend_from_shape | ( | wmOperatorType * | ot | ) |
Definition at line 3714 of file editmesh_tools.c.
References wmOperatorType::description, DummyRNA_NULL_items, ED_operator_editmesh(), edbm_blend_from_shape_exec(), edbm_blend_from_shape_ui(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM_NO_TRANSLATE, PROP_NEVER_UNLINK, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), RNA_def_property_flag(), shape_itemf(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_bridge_edge_loops | ( | wmOperatorType * | ot | ) |
Definition at line 7132 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_bridge_edge_loops_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MESH_BRIDGELOOP_CLOSED, MESH_BRIDGELOOP_PAIRS, MESH_BRIDGELOOP_SINGLE, mesh_operator_edgering_props(), wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_colors_reverse | ( | wmOperatorType * | ot | ) |
Definition at line 3058 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_reverse_colors_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_colors_rotate | ( | wmOperatorType * | ot | ) |
Definition at line 3040 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_rotate_colors_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_decimate | ( | wmOperatorType * | ot | ) |
Definition at line 5642 of file editmesh_tools.c.
References wmOperatorType::check, wmOperatorType::description, ED_operator_editmesh(), edbm_decimate_check(), edbm_decimate_exec(), edbm_decimate_ui(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), rna_enum_axis_xyz_items, wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 513 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_delete_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MESH_DELETE_EDGE, MESH_DELETE_EDGE_FACE, MESH_DELETE_FACE, MESH_DELETE_ONLY_FACE, MESH_DELETE_VERT, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_delete_edgeloop | ( | wmOperatorType * | ot | ) |
Definition at line 6200 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_delete_edgeloop_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_delete_loose | ( | wmOperatorType * | ot | ) |
Definition at line 644 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_delete_loose_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_degenerate | ( | wmOperatorType * | ot | ) |
Definition at line 6115 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_degenerate_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_edges | ( | wmOperatorType * | ot | ) |
Definition at line 5817 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_edges_exec(), edbm_dissolve_prop__use_face_split(), edbm_dissolve_prop__use_verts(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_faces | ( | wmOperatorType * | ot | ) |
Definition at line 5877 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_faces_exec(), edbm_dissolve_prop__use_verts(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_limited | ( | wmOperatorType * | ot | ) |
Definition at line 6022 of file editmesh_tools.c.
References BMO_DELIM_NORMAL, DEG2RADF, wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_limited_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum_flag(), RNA_def_float_rotation(), RNA_def_property_float_default(), rna_enum_mesh_delimit_mode_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_mode | ( | wmOperatorType * | ot | ) |
Definition at line 5923 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_mode_exec(), edbm_dissolve_prop__use_boundary_tear(), edbm_dissolve_prop__use_face_split(), edbm_dissolve_prop__use_verts(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and PROP_SKIP_SAVE.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_dissolve_verts | ( | wmOperatorType * | ot | ) |
Definition at line 5755 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_dissolve_prop__use_boundary_tear(), edbm_dissolve_prop__use_face_split(), edbm_dissolve_verts_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 1977 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_duplicate_exec(), edbm_duplicate_invoke(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, and TFM_TRANSLATION.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_edge_collapse | ( | wmOperatorType * | ot | ) |
Definition at line 696 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_collapse_edge_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_edge_face_add | ( | wmOperatorType * | ot | ) |
Definition at line 986 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_add_edge_face_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_edge_rotate | ( | wmOperatorType * | ot | ) |
Definition at line 2282 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_edge_rotate_selected_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_edge_split | ( | wmOperatorType * | ot | ) |
Definition at line 1885 of file editmesh_tools.c.
References BM_EDGE, BM_VERT, wmOperatorType::description, ED_operator_editmesh(), edbm_edge_split_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, merge_type_items, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_face_make_planar | ( | wmOperatorType * | ot | ) |
Definition at line 1736 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_face_make_planar_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_faces_shade_flat | ( | wmOperatorType * | ot | ) |
Definition at line 2840 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_faces_shade_flat_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_faces_shade_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2797 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_faces_shade_smooth_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_fill | ( | wmOperatorType * | ot | ) |
Definition at line 4689 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_fill_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_fill_grid | ( | wmOperatorType * | ot | ) |
Definition at line 4974 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_fill_grid_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_fill_holes | ( | wmOperatorType * | ot | ) |
Definition at line 5045 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_fill_holes_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_flip_normals | ( | wmOperatorType * | ot | ) |
Definition at line 2148 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_flip_normals_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_hide | ( | wmOperatorType * | ot | ) |
Definition at line 2357 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_hide_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_knife_cut | ( | wmOperatorType * | ot | ) |
Definition at line 4126 of file editmesh_tools.c.
References wmOperatorType::description, edbm_knife_cut_exec(), EDBM_view3d_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, KNIFE_EXACT, knife_items, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_int(), RNA_def_property_flag(), RNA_OperatorMousePath, wmOperatorType::srna, WM_CURSOR_KNIFE, WM_CURSOR_NUM, WM_gesture_lines_invoke(), and WM_gesture_lines_modal().
| void MESH_OT_mark_seam | ( | wmOperatorType * | ot | ) |
Definition at line 1058 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_mark_seam_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, and WM_operatortype_props_advanced_begin().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_mark_sharp | ( | wmOperatorType * | ot | ) |
Definition at line 1127 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_mark_sharp_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_merge | ( | wmOperatorType * | ot | ) |
Definition at line 3324 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_merge_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, merge_type_itemf(), merge_type_items, MESH_MERGE_CENTER, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), wmOperatorType::srna, WM_menu_invoke(), and WM_operatortype_props_advanced_begin().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_merge_normals | ( | struct wmOperatorType * | ot | ) |
Definition at line 8687 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_merge_normals_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_mod_weighted_strength | ( | struct wmOperatorType * | ot | ) |
Definition at line 9503 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_mod_weighted_strength_exec(), wmOperatorType::exec, FACE_STRENGTH_MEDIUM, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_mesh_face_strength_types, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_normals_make_consistent | ( | wmOperatorType * | ot | ) |
Definition at line 2468 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_normals_make_consistent_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_normals_tools | ( | struct wmOperatorType * | ot | ) |
Definition at line 9173 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), EDBM_CLNOR_TOOLS_COPY, edbm_normals_tools_exec(), edbm_normals_tools_ui(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, normal_vector_tool_items, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_offset_edge_loops | ( | wmOperatorType * | ot | ) |
Definition at line 7344 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_offset_edgeloop_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_point_normals | ( | struct wmOperatorType * | ot | ) |
Definition at line 8451 of file editmesh_tools.c.
References wmOperatorType::cancel, clnors_pointto_mode_items, wmOperatorType::description, ED_operator_editmesh(), EDBM_CLNOR_POINTTO_MODE_COORDINATES, edbm_point_normals_exec(), edbm_point_normals_invoke(), edbm_point_normals_modal(), edbm_point_normals_ui(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, point_normals_cancel(), wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_vector_xyz(), RNA_def_property_flag(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_poke | ( | wmOperatorType * | ot | ) |
Definition at line 5214 of file editmesh_tools.c.
References BMOP_POKE_BOUNDS, BMOP_POKE_MEDIAN, BMOP_POKE_MEDIAN_WEIGHTED, wmOperatorType::description, ED_operator_editmesh(), edbm_poke_face_exec(), 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_distance(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_quads_convert_to_tris | ( | wmOperatorType * | ot | ) |
Definition at line 5317 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_quads_convert_to_tris_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MOD_TRIANGULATE_NGON_BEAUTY, MOD_TRIANGULATE_QUAD_BEAUTY, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), rna_enum_modifier_triangulate_ngon_method_items, rna_enum_modifier_triangulate_quad_method_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_remove_doubles | ( | wmOperatorType * | ot | ) |
Definition at line 3435 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_remove_doubles_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_reveal | ( | wmOperatorType * | ot | ) |
Definition at line 2403 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_reveal_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_separate | ( | wmOperatorType * | ot | ) |
Definition at line 4596 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_scene_editable(), edbm_separate_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MESH_SEPARATE_LOOSE, MESH_SEPARATE_MATERIAL, MESH_SEPARATE_SELECTED, wmOperatorType::name, NULL, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_set_normals_from_faces | ( | struct wmOperatorType * | ot | ) |
Definition at line 9299 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_set_normals_from_faces_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_shape_propagate_to_all | ( | wmOperatorType * | ot | ) |
Definition at line 3544 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_shape_propagate_to_all_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_smooth_normals | ( | struct wmOperatorType * | ot | ) |
Definition at line 9407 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_smooth_normals_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_solidify | ( | wmOperatorType * | ot | ) |
Definition at line 3794 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_solidify_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_distance(), RNA_def_property_ui_range(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_sort_elements | ( | wmOperatorType * | ot | ) |
Definition at line 6866 of file editmesh_tools.c.
References BM_EDGE, BM_FACE, BM_VERT, wmOperatorType::description, ED_operator_editmesh(), edbm_sort_elements_exec(), edbm_sort_elements_poll_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_flag(), RNA_def_int(), wmOperatorType::srna, SRT_CURSOR_DISTANCE, SRT_MATERIAL, SRT_RANDOMIZE, SRT_REVERSE, SRT_SELECTED, SRT_VIEW_XAXIS, SRT_VIEW_ZAXIS, and WM_menu_invoke().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_split | ( | wmOperatorType * | ot | ) |
Definition at line 6264 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_split_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_split_normals | ( | struct wmOperatorType * | ot | ) |
Definition at line 8707 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_split_normals_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_subdivide | ( | wmOperatorType * | ot | ) |
Definition at line 152 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_subdivide_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_mesh_cornervert_types, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), wmOperatorType::srna, SUBD_CORNER_STRAIGHT_CUT, and WM_operatortype_props_advanced_begin().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_subdivide_edgering | ( | wmOperatorType * | ot | ) |
Definition at line 334 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_subdivide_edge_ring_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mesh_operator_edgering_props(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_symmetrize | ( | struct wmOperatorType * | ot | ) |
Definition at line 7549 of file editmesh_tools.c.
References BMO_SYMMETRIZE_NEGATIVE_X, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mesh_symmetrize_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), rna_enum_symmetrize_direction_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_symmetry_snap | ( | struct wmOperatorType * | ot | ) |
Definition at line 7709 of file editmesh_tools.c.
References BMO_SYMMETRIZE_NEGATIVE_X, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mesh_symmetry_snap_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_distance(), rna_enum_symmetrize_direction_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_tris_convert_to_quads | ( | wmOperatorType * | ot | ) |
Definition at line 5463 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_tris_convert_to_quads_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, join_triangle_props(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_unsubdivide | ( | wmOperatorType * | ot | ) |
Definition at line 394 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_unsubdivide_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_uvs_reverse | ( | wmOperatorType * | ot | ) |
Definition at line 3022 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_reverse_uvs_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_uvs_rotate | ( | wmOperatorType * | ot | ) |
Definition at line 3004 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_rotate_uvs_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vert_connect | ( | wmOperatorType * | ot | ) |
Definition at line 1270 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_vert_connect_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vert_connect_concave | ( | wmOperatorType * | ot | ) |
Definition at line 1613 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_vert_connect_concave_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vert_connect_nonplanar | ( | wmOperatorType * | ot | ) |
Definition at line 1667 of file editmesh_tools.c.
References DEG2RADF, wmOperatorType::description, ED_operator_editmesh(), edbm_vert_connect_nonplaner_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_rotation(), RNA_def_property_float_default(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vert_connect_path | ( | wmOperatorType * | ot | ) |
Definition at line 1567 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_vert_connect_path_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vertices_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2580 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_do_smooth_vertex_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_float_factor(), RNA_def_int(), wmOperatorType::srna, WM_operator_type_modal_from_exec_for_object_edit_coords(), and WM_operatortype_props_advanced_begin().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_vertices_smooth_laplacian | ( | wmOperatorType * | ot | ) |
Definition at line 2713 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_do_smooth_laplacian_vertex_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float(), RNA_def_int(), wmOperatorType::srna, and WM_operatortype_props_advanced_begin().
Referenced by ED_operatortypes_mesh().
| void MESH_OT_wireframe | ( | wmOperatorType * | ot | ) |
Definition at line 7240 of file editmesh_tools.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_wireframe_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float(), RNA_def_float_distance(), RNA_def_property_ui_range(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().
|
static |
Definition at line 4220 of file editmesh_tools.c.
References BA_SELECT, BKE_object_material_array_assign(), BKE_object_material_array_p(), BKE_object_material_len_p(), BM_ALL, BM_custom_loop_normals_from_vector_layer(), BM_mesh_bm_to_me(), BM_mesh_copy_arrays(), BM_mesh_copy_init_customdata(), BM_mesh_copy_init_customdata_all_layers(), BM_mesh_create(), BM_mesh_free(), BM_vert_kill(), Object::data, ED_object_add_duplicate(), ED_object_base_select(), faces, BMesh::lnor_spacearr, NULL, Base::object, scene, BMAllocTemplate::totvert, USER_DUP_ACT, USER_DUP_MESH, and verts.
Referenced by mesh_separate_loose().
|
static |
Definition at line 4408 of file editmesh_tools.c.
References BM_custom_loop_normals_to_vector_layer(), BM_EDGE, BM_ELEM_SELECT, BM_FACE, BM_mesh_bm_to_me(), BM_mesh_calc_edge_groups_as_arrays(), BM_mesh_elem_hflag_disable_all(), BM_VERT, Object::data, ED_mesh_geometry_clear(), MEM_freeN, MEM_mallocN, mesh_separate_arrays(), NULL, Base::object, result, scene, BMesh::totedge, BMesh::totface, BMesh::totvert, and UNPACK3.
Referenced by edbm_separate_exec().
|
static |
Definition at line 4355 of file editmesh_tools.c.
References BM_EDGE, BM_elem_flag_enable, BM_ELEM_TAG, BM_FACE, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_iter_at_index(), BM_ITER_MESH, BM_mesh_elem_hflag_disable_all(), BM_VERT, BMLoop::e, BMFace::mat_nr, mesh_separate_material_assign_mat_nr(), mesh_separate_tagged(), BMLoop::next, NULL, Base::object, result, scene, BMesh::totface, and BMLoop::v.
Referenced by edbm_separate_exec().
|
static |
Sets an object to a single material. from one of its slots.
Definition at line 4305 of file editmesh_tools.c.
References BKE_id_material_array_p(), BKE_id_material_clear(), BKE_id_material_len_p(), BKE_id_material_resize(), BKE_object_material_resize(), BLI_assert, Object::data, id_us_plus(), Object::mat, Object::matbits, and NULL.
Referenced by mesh_separate_material().
|
static |
Definition at line 4286 of file editmesh_tools.c.
References BM_EDGE, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_hflag_enable_test(), BM_VERT, mesh_separate_tagged(), NULL, and scene.
Referenced by edbm_separate_exec().
|
static |
TODO: Use mesh_separate_arrays since it's more efficient.
Definition at line 4166 of file editmesh_tools.c.
References BA_SELECT, BKE_object_material_array_assign(), BKE_object_material_array_p(), BKE_object_material_len_p(), BM_EDGE, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, bm_mesh_allocsize_default, BM_mesh_bm_to_me(), BM_mesh_copy_init_customdata(), BM_mesh_create(), BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_toolflags_ensure(), BM_mesh_free(), BM_mesh_normals_update(), BM_VERT, BMO_FLAG_DEFAULTS, BMO_FLAG_RESPECT_HIDE, BMO_op_callf(), Object::data, DEL_FACES, ED_object_add_duplicate(), ED_object_base_select(), NULL, Base::object, scene, USER_DUP_ACT, and USER_DUP_MESH.
Referenced by mesh_separate_material(), and mesh_separate_selected().
|
static |
Definition at line 2759 of file editmesh_tools.c.
References BMEditMesh::bm, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_FACES_OF_MESH, BM_ITER_MESH, NULL, and EdgeRingOpSubdProps::smooth.
Referenced by edbm_faces_shade_flat_exec(), edbm_faces_shade_smooth_exec(), and normals_split_merge().
|
static |
Definition at line 7507 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, BM_ALL_NOLOOP, BM_ELEM_SELECT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_flag_disable_all(), EDBM_op_finish(), EDBM_op_init(), EDBM_selectmode_flush(), EDBM_update_generic(), MEM_freeN, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), BMOperator::slots_out, and BMesh::totvertsel.
Referenced by MESH_OT_symmetrize().
|
static |
Definition at line 7586 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BKE_reportf(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_elem_flag_enable, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_TAG, BM_ITER_MESH_INDEX, BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_table_ensure(), BM_VERT, BM_vert_at_index(), BM_VERTS_OF_MESH, C, BMVert::co, copy_v3_v3(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, EDBM_update_generic(), EDBM_verts_mirror_cache_begin_ex(), eps, fabsf, interp_v3_v3v3(), len_squared_v3v3(), MEM_freeN, MEM_mallocN, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), RPT_INFO, RPT_WARNING, SWAP, BMesh::totvert, BMesh::totvertsel, and v.
Referenced by MESH_OT_symmetry_snap().
|
static |
Definition at line 8512 of file editmesh_tools.c.
References add_v3_v3(), BKE_lnor_space_custom_normal_to_data(), BLI_assert, BLI_SMALLSTACK_DECLARE, BLI_SMALLSTACK_IS_EMPTY, BLI_SMALLSTACK_POP, BLI_SMALLSTACK_PUSH, bm, BM_elem_flag_enable, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_TAG, BM_normals_loops_edges_tag(), BMLoopNorEditData::clnors_data, CLNORS_VALID_VEC_LEN, MLoopNorSpaceArray::data_type, MLoopNorSpace::flags, l, BMLoopNorEditDataArray::lidx_to_lnor_editdata, LinkNode::link, BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loop, BMLoopNorEditData::loop_index, MLoopNorSpace::loops, MLoopNorSpaceArray::lspacearr, MLNOR_SPACE_IS_SINGLE, MLNOR_SPACEARR_BMLOOP_PTR, LinkNode::next, BMLoopNorEditData::nloc, normalize_v3(), BMLoopNorEditDataArray::totloop, and zero_v3().
Referenced by normals_split_merge().
|
static |
Definition at line 8557 of file editmesh_tools.c.
References add_v3_v3(), BKE_lnor_space_custom_normal_to_data(), BLI_assert, BLI_SMALLSTACK_DECLARE, BLI_SMALLSTACK_IS_EMPTY, BLI_SMALLSTACK_POP, BLI_SMALLSTACK_PUSH, bm, BM_ELEM_CD_GET_VOID_P, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE_FIRST_LOOP, BM_FACES_OF_MESH, BM_ITER_MESH, BM_loop_check_cyclic_smooth_fan(), BM_normals_loops_edges_tag(), BM_vert_step_fan_loop(), CD_CUSTOMLOOPNORMAL, CLNORS_VALID_VEC_LEN, CustomData_get_offset(), MLoopNorSpaceArray::data_type, BMLoop::e, BMLoop::f, l, BMesh::ldata, BMesh::lnor_spacearr, MLoopNorSpaceArray::lspacearr, MLNOR_SPACEARR_BMLOOP_PTR, BMLoop::next, BMFace::no, normalize_v3(), BMLoop::prev, UNUSED_VARS_NDEBUG, BMLoop::v, and zero_v3().
Referenced by normals_split_merge().
|
static |
Definition at line 8629 of file editmesh_tools.c.
References BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_EDGES_OF_MESH, BM_elem_flag_set, BM_elem_flag_test, BM_ELEM_SELECT, BM_ELEM_SMOOTH, BM_ITER_MESH, BM_loop_normal_editdata_array_free(), BM_loop_normal_editdata_array_init(), BM_SPACEARR_DIRTY_ALL, C, CTX_data_view_layer(), CTX_wm_view3d(), Object::data, e, EDBM_update_generic(), MEM_freeN, mesh_set_smooth_faces(), normals_merge(), normals_split(), NULL, OPERATOR_FINISHED, and BMesh::spacearr_dirty.
Referenced by edbm_merge_normals_exec(), and edbm_split_normals_exec().
|
static |
Definition at line 9145 of file editmesh_tools.c.
References EDBM_CLNOR_TOOLS_PASTE, ptr, RNA_enum_get(), RNA_property_identifier(), and STREQ.
Referenced by edbm_normals_tools_ui().
|
static |
Definition at line 8123 of file editmesh_tools.c.
References add_v3_v3(), BKE_editmesh_from_object(), BKE_lnor_space_custom_normal_to_data(), BMEditMesh::bm, bm, bmesh_selected_verts_center_calc(), C, center, BMLoopNorEditData::clnors_data, CLNORS_VALID_VEC_LEN, copy_v3_v3(), CTX_data_edit_object(), wmOperator::customdata, BMLoopNorEditDataArray::lnor_editdata, BMesh::lnor_spacearr, BMLoopNorEditData::loc, Object::loc, BMLoopNorEditData::loop_index, MLoopNorSpaceArray::lspacearr, mul_v3_fl(), mul_v3_v3fl(), negate_v3(), BMLoopNorEditData::niloc, BMLoopNorEditData::nloc, normalize_v3(), wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), sub_v3_v3(), sub_v3_v3v3(), and BMLoopNorEditDataArray::totloop.
Referenced by edbm_point_normals_exec(), and edbm_point_normals_modal().
|
static |
Definition at line 8060 of file editmesh_tools.c.
References C, CTX_wm_area(), ED_area_status_text(), NULL, and point_normals_free().
Referenced by edbm_point_normals_exec(), edbm_point_normals_invoke(), edbm_point_normals_modal(), and MESH_OT_point_normals().
|
static |
Definition at line 8422 of file editmesh_tools.c.
References ptr, RNA_boolean_get(), RNA_property_identifier(), and STREQ.
Referenced by edbm_point_normals_ui().
|
static |
Definition at line 8043 of file editmesh_tools.c.
References C, wmOperator::customdata, NULL, and point_normals_init().
Referenced by edbm_point_normals_modal().
|
static |
Definition at line 8051 of file editmesh_tools.c.
References BM_loop_normal_editdata_array_free(), wmOperator::customdata, and NULL.
Referenced by edbm_point_normals_modal(), and point_normals_cancel().
|
static |
Definition at line 8028 of file editmesh_tools.c.
References BKE_editmesh_ensure_autosmooth(), BKE_editmesh_from_object(), BKE_editmesh_lnorspace_update(), BMEditMesh::bm, bm, BM_loop_normal_editdata_array_init(), C, CTX_data_edit_object(), wmOperator::customdata, Object::data, and BMLoopNorEditDataArray::totloop.
Referenced by edbm_point_normals_exec(), edbm_point_normals_invoke(), and point_normals_ensure().
| wmKeyMap* point_normals_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 7941 of file editmesh_tools.c.
References EDBM_CLNOR_MODAL_CANCEL, EDBM_CLNOR_MODAL_CONFIRM, EDBM_CLNOR_MODAL_POINTTO_ALIGN, EDBM_CLNOR_MODAL_POINTTO_INVERT, EDBM_CLNOR_MODAL_POINTTO_RESET, EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR, EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED, EDBM_CLNOR_MODAL_POINTTO_SPHERIZE, EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE, EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT, EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT, wmKeyMap::modal_items, NULL, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by ED_keymap_mesh().
|
static |
Definition at line 8066 of file editmesh_tools.c.
References BLI_snprintf(), C, CTX_wm_area(), ED_area_status_text(), EDBM_CLNOR_MODAL_CANCEL, EDBM_CLNOR_MODAL_CONFIRM, EDBM_CLNOR_MODAL_POINTTO_ALIGN, EDBM_CLNOR_MODAL_POINTTO_INVERT, EDBM_CLNOR_MODAL_POINTTO_RESET, EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR, EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED, EDBM_CLNOR_MODAL_POINTTO_SPHERIZE, EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE, EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT, EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT, EDBM_CLNOR_POINTTO_MODE_MOUSE, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), TIP_, UI_MAX_DRAW_STR, WM_bool_as_string(), and WM_MODALKEY.
Referenced by edbm_point_normals_invoke(), and edbm_point_normals_modal().
|
static |
Definition at line 3660 of file editmesh_tools.c.
References Freestyle::a, BKE_editmesh_from_object(), BMEditMesh::bm, C, CD_SHAPEKEY, CTX_data_edit_object(), CustomData_has_layer(), EnumPropertyItem::identifier, CustomData::layers, CustomDataLayer::name, EnumPropertyItem::name, NULL, OB_MESH, RNA_enum_item_add(), RNA_enum_item_end(), CustomData::totlayer, CustomDataLayer::type, Object::type, EnumPropertyItem::value, and BMesh::vdata.
Referenced by MESH_OT_blend_from_shape().
|
static |
Definition at line 3478 of file editmesh_tools.c.
References BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_HIDDEN, BM_ELEM_SELECT, BM_ITER_MESH, BM_VERTS_OF_MESH, CD_SHAPEKEY, BMVert::co, copy_v3_v3(), CustomData_bmesh_get_n(), CustomData_has_layer(), CustomData_number_of_layers(), BMHeader::data, BMVert::head, NULL, and BMesh::vdata.
Referenced by edbm_shape_propagate_to_all_exec().
|
static |
Definition at line 6321 of file editmesh_tools.c.
References BKE_editmesh_from_object(), BLI_rng_free(), BLI_rng_get_float(), BLI_rng_new_srandom(), BMEditMesh::bm, BM_EDGE, BM_EDGES_OF_MESH, BM_elem_flag_test, BM_FACE, BM_face_calc_center_median(), BM_FACES_OF_MESH, BM_ITER_MESH_INDEX, BM_mesh_remap(), BM_VERT, BM_VERTS_OF_MESH, bmelemsort_comp(), C, BMVert::co, copy_v3_v3(), Scene::cursor, Object::data, DEG_id_tag_update(), ELEM, float(), ID_RECALC_GEOMETRY, invert_m4_m4(), len_squared_v3v3(), View3DCursor::location, BMFace::mat_nr, MAXMAT, MEM_callocN, MEM_freeN, MEM_mallocN, mid_v3_v3v3(), mul_m4_m4m4(), mul_m4_v3(), mul_v3_m4v3(), NC_GEOM, ND_DATA, NULL, Object::obmat, BMElemSort::org_idx, scene, seed, SRT_CURSOR_DISTANCE, SRT_MATERIAL, SRT_RANDOMIZE, SRT_REVERSE, SRT_SELECTED, SRT_VIEW_XAXIS, SRT_VIEW_ZAXIS, BMesh::totedge, BMesh::totface, BMesh::totvert, types, BMEdge::v1, BMEdge::v2, RegionView3D::viewmat, and WM_event_add_notifier().
Referenced by edbm_sort_elements_exec().
|
static |
Definition at line 8734 of file editmesh_tools.c.
Referenced by MESH_OT_average_normals().
|
static |
Definition at line 8017 of file editmesh_tools.c.
Referenced by MESH_OT_point_normals().
|
static |
Definition at line 3824 of file editmesh_tools.c.
Referenced by MESH_OT_knife_cut().
|
static |
Definition at line 3263 of file editmesh_tools.c.
Referenced by merge_type_itemf(), MESH_OT_edge_split(), and MESH_OT_merge().
|
static |
Definition at line 8978 of file editmesh_tools.c.
Referenced by MESH_OT_normals_tools().
|
static |
Definition at line 144 of file editmesh_tools.c.
Referenced by MESH_OT_subdivide().
|
static |
Definition at line 9496 of file editmesh_tools.c.
Referenced by MESH_OT_mod_weighted_strength().