Blender V5.3
editmesh_tools.cc File Reference
#include <cstddef>
#include <fmt/format.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_array.hh"
#include "BLI_bitmap.hh"
#include "BLI_heap_simple.hh"
#include "BLI_linklist.hh"
#include "BLI_linklist_stack.hh"
#include "BLI_listbase.hh"
#include "BLI_math_bits.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rand_c.hh"
#include "BLI_sort_utils.hh"
#include "BKE_attribute.h"
#include "BKE_context.hh"
#include "BKE_customdata.hh"
#include "BKE_deform.hh"
#include "BKE_editmesh.hh"
#include "BKE_key.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_material.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_types.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_paint.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "BLT_translation.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_select_utils.hh"
#include "ED_transform.hh"
#include "ED_uvedit.hh"
#include "ED_view3d.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "mesh_intern.hh"
#include "bmesh_tools.hh"

Go to the source code of this file.

Classes

struct  blender::EdgeRingOpSubdProps
struct  blender::FillGridSplitJoin
struct  blender::BMElemSort

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define USE_FACE_CREATE_SEL_EXTEND

Functions

Edge Ring Subdivide Operator

Bridge code shares props.

static void blender::mesh_operator_edgering_props (wmOperatorType *ot, const int cuts_min, const int cuts_default)
static void blender::mesh_operator_edgering_props_get (wmOperator *op, EdgeRingOpSubdProps *op_props)
static wmOperatorStatus blender::edbm_subdivide_edge_ring_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_subdivide_edgering (wmOperatorType *ot)
Un-Subdivide Operator
static wmOperatorStatus blender::edbm_unsubdivide_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_unsubdivide (wmOperatorType *ot)
Delete Loose Operator
static bool blender::bm_face_is_loose (BMFace *f)
static wmOperatorStatus blender::edbm_delete_loose_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_delete_loose (wmOperatorType *ot)
Collapse Edge Operator
static wmOperatorStatus blender::edbm_collapse_edge_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_edge_collapse (wmOperatorType *ot)
Create Edge/Face Operator
static bool blender::edbm_add_edge_face__smooth_get (BMesh *bm)
static int blender::edbm_add_edge_face_exec__vert_edge_lookup (BMVert *v, BMEdge *e_used, BMEdge **e_arr, const int e_arr_len, bool(*func)(const BMEdge *))
static BMElem * blender::edbm_add_edge_face_exec__tricky_extend_sel (BMesh *bm)
static void blender::edbm_add_edge_face_exec__tricky_finalize_sel (BMesh *bm, BMElem *ele_desel, BMFace *f)
static wmOperatorStatus blender::edbm_add_edge_face_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_edge_face_add (wmOperatorType *ot)
Mark Edge (Seam) Operator
static wmOperatorStatus blender::edbm_mark_seam_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_mark_seam (wmOperatorType *ot)
Mark Edge (Sharp) Operator
static wmOperatorStatus blender::edbm_mark_sharp_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_mark_sharp (wmOperatorType *ot)
Connect Vertex Path Operator
static bool blender::edbm_connect_vert_pair (BMEditMesh *em, Mesh *mesh, wmOperator *op)
static wmOperatorStatus blender::edbm_vert_connect_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vert_connect (wmOperatorType *ot)
static bool blender::bm_vert_is_select_history_open (BMesh *bm)
static bool blender::bm_vert_connect_pair (BMesh *bm, BMVert *v_a, BMVert *v_b, const bool skip_normals=false)
static bool blender::bm_vert_connect_select_history (BMesh *bm)
static bool blender::bm_vert_connect_select_history_edge_to_vert_path (BMesh *bm, ListBaseT< BMEditSelection > *r_selected)
static wmOperatorStatus blender::edbm_vert_connect_path_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vert_connect_path (wmOperatorType *ot)
Connect Concave Operator
static wmOperatorStatus blender::edbm_vert_connect_concave_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vert_connect_concave (wmOperatorType *ot)
Split Non-Planar Faces Operator
static wmOperatorStatus blender::edbm_vert_connect_nonplaner_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vert_connect_nonplanar (wmOperatorType *ot)
Make Planar Faces Operator
static wmOperatorStatus blender::edbm_face_make_planar_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_face_make_planar (wmOperatorType *ot)
Split Edge Operator
static bool blender::edbm_edge_split_selected_edges (wmOperator *op, Object *obedit, BMEditMesh *em)
static bool blender::edbm_edge_split_selected_verts (wmOperator *op, Object *obedit, BMEditMesh *em)
static wmOperatorStatus blender::edbm_edge_split_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_edge_split (wmOperatorType *ot)
Duplicate Operator
static wmOperatorStatus blender::edbm_duplicate_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::edbm_duplicate_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::MESH_OT_duplicate (wmOperatorType *ot)
static BMLoopNorEditDataArray * blender::flip_custom_normals_init_data (BMesh *bm)
static bool blender::flip_custom_normals (BMesh *bm, BMLoopNorEditDataArray *lnors_ed_arr)
Flip Normals Operator
static void blender::edbm_flip_normals_custom_loop_normals (Object *obedit, BMesh *bm)
static void blender::edbm_flip_quad_tessellation (wmOperator *op, Object *obedit, BMesh *bm)
static void blender::edbm_flip_normals_face_winding (wmOperator *op, Object *obedit, BMesh *bm)
static wmOperatorStatus blender::edbm_flip_quad_tessellation_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::edbm_flip_normals_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_flip_normals (wmOperatorType *ot)
Rotate Edge Operator
static wmOperatorStatus blender::edbm_edge_rotate_selected_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_edge_rotate (wmOperatorType *ot)
Hide Operator
static wmOperatorStatus blender::edbm_hide_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_hide (wmOperatorType *ot)
Reveal Operator
static wmOperatorStatus blender::edbm_reveal_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_reveal (wmOperatorType *ot)
Recalculate Normals Operator
static wmOperatorStatus blender::edbm_normals_make_consistent_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_normals_make_consistent (wmOperatorType *ot)
Smooth Vertices Operator
static wmOperatorStatus blender::edbm_do_smooth_vertex_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vertices_smooth (wmOperatorType *ot)
Laplacian Smooth Vertices Operator
static wmOperatorStatus blender::edbm_do_smooth_laplacian_vertex_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_vertices_smooth_laplacian (wmOperatorType *ot)
Set Faces Smooth Shading Operator
static void blender::mesh_set_smooth_faces (BMesh *bm, short smooth)
static wmOperatorStatus blender::edbm_faces_shade_smooth_exec (bContext *C, wmOperator *)
void blender::MESH_OT_faces_shade_smooth (wmOperatorType *ot)
Set Faces Flat Shading Operator
static wmOperatorStatus blender::edbm_faces_shade_flat_exec (bContext *C, wmOperator *)
void blender::MESH_OT_faces_shade_flat (wmOperatorType *ot)
UV/Color Rotate/Reverse Operator
static wmOperatorStatus blender::edbm_rotate_uvs_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::edbm_reverse_uvs_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::edbm_rotate_colors_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::edbm_reverse_colors_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_uvs_rotate (wmOperatorType *ot)
void blender::MESH_OT_uvs_reverse (wmOperatorType *ot)
void blender::MESH_OT_colors_rotate (wmOperatorType *ot)
void blender::MESH_OT_colors_reverse (wmOperatorType *ot)
Merge By Distance Operator
static wmOperatorStatus blender::edbm_remove_doubles_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_remove_doubles (wmOperatorType *ot)
Shape Key Propagate Operator
static bool blender::shape_propagate (BMEditMesh *em, BMesh *bm, bool use_symmetry)
static wmOperatorStatus blender::edbm_shape_propagate_to_all_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_shape_propagate_to_all (wmOperatorType *ot)
Blend from Shape Operator
static wmOperatorStatus blender::edbm_blend_from_shape_exec (bContext *C, wmOperator *op)
static const EnumPropertyItem * blender::shape_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free)
static void blender::edbm_blend_from_shape_ui (bContext *C, wmOperator *op)
void blender::MESH_OT_blend_from_shape (wmOperatorType *ot)
Solidify Mesh Operator
static wmOperatorStatus blender::edbm_solidify_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_solidify (wmOperatorType *ot)
Triangle Fill Operator
static wmOperatorStatus blender::edbm_fill_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_fill (wmOperatorType *ot)
Grid Fill Operator
static float blender::edbm_fill_grid_vert_tag_angle (BMVert *v)
static bool blender::edbm_fill_grid_prepare (BMesh *bm, int offset, int *span_p, const bool span_calc)
static bool blender::bm_faces_select_to_tag_with_manifold_bounds_check (BMesh *bm)
static FillGridSplitJoin * blender::edbm_fill_grid_split_join_init (BMesh *bm)
static void blender::edbm_fill_grid_split_join_finish (BMesh *bm, wmOperator *op, FillGridSplitJoin *split_join, bool changed)
static wmOperatorStatus blender::edbm_fill_grid_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_fill_grid (wmOperatorType *ot)
Hole Fill Operator
static wmOperatorStatus blender::edbm_fill_holes_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_fill_holes (wmOperatorType *ot)
Beauty Fill Operator
static wmOperatorStatus blender::edbm_beautify_fill_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_beautify_fill (wmOperatorType *ot)
Poke Face Operator
static wmOperatorStatus blender::edbm_poke_face_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_poke (wmOperatorType *ot)
Triangulate Face Operator
static wmOperatorStatus blender::edbm_quads_convert_to_tris_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_quads_convert_to_tris (wmOperatorType *ot)
Convert to Quads Operator
static wmOperatorStatus blender::edbm_tris_convert_to_quads_exec (bContext *C, wmOperator *op)
static void blender::join_triangle_props (wmOperatorType *ot)
void blender::MESH_OT_tris_convert_to_quads (wmOperatorType *ot)
Decimate Operator
Note
The function to decimate is intended for use as a modifier, while its handy allow access as a tool - this does cause access to be a little awkward (passing selection as weights for eg).
static wmOperatorStatus blender::edbm_decimate_exec (bContext *C, wmOperator *op)
static bool blender::edbm_decimate_check (bContext *, wmOperator *)
static void blender::edbm_decimate_ui (bContext *, wmOperator *op)
void blender::MESH_OT_decimate (wmOperatorType *ot)
Dissolve Vertices Operator
static void blender::edbm_dissolve_prop__use_verts (wmOperatorType *ot, bool value, int flag)
static void blender::edbm_dissolve_prop__use_face_split (wmOperatorType *ot)
static void blender::edbm_dissolve_prop__use_boundary_tear (wmOperatorType *ot)
static void blender::edbm_dissolve_prop__use_angle_threshold (wmOperatorType *ot, int flag)
static void blender::edbm_dissolve_prop__use_preserve_quads (wmOperatorType *ot, bool value, int flag)
static wmOperatorStatus blender::edbm_dissolve_verts_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_dissolve_verts (wmOperatorType *ot)
Dissolve Edges Operator
static wmOperatorStatus blender::edbm_dissolve_edges_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_dissolve_edges (wmOperatorType *ot)
Dissolve Faces Operator
static wmOperatorStatus blender::edbm_dissolve_faces_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_dissolve_faces (wmOperatorType *ot)
Dissolve (Context Sensitive) Operator
static wmOperatorStatus blender::edbm_dissolve_mode_exec (bContext *C, wmOperator *op)
static bool blender::dissolve_mode_poll_property (const bContext *C, wmOperator *op, const PropertyRNA *prop)
void blender::MESH_OT_dissolve_mode (wmOperatorType *ot)
Limited Dissolve Operator
static wmOperatorStatus blender::edbm_dissolve_limited_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_dissolve_limited (wmOperatorType *ot)
Degenerate Dissolve Operator
static wmOperatorStatus blender::edbm_dissolve_degenerate_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_dissolve_degenerate (wmOperatorType *ot)
Delete Edge-Loop Operator
static wmOperatorStatus blender::edbm_delete_edgeloop_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_delete_edgeloop (wmOperatorType *ot)
Split Geometry Operator
static wmOperatorStatus blender::edbm_split_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_split (wmOperatorType *ot)
Wire-Frame Operator
static wmOperatorStatus blender::edbm_wireframe_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_wireframe (wmOperatorType *ot)
Offset Edge-Loop Operator
static wmOperatorStatus blender::edbm_offset_edgeloop_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_offset_edge_loops (wmOperatorType *ot)
Symmetrize Operator
static wmOperatorStatus blender::mesh_symmetrize_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_symmetrize (wmOperatorType *ot)
Snap to Symmetry Operator
static wmOperatorStatus blender::mesh_symmetry_snap_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_symmetry_snap (wmOperatorType *ot)
Split/Merge Loop Normals Operator
static void blender::normals_merge (BMesh *bm, BMLoopNorEditDataArray *lnors_ed_arr)
static void blender::normals_split (BMesh *bm)
static wmOperatorStatus blender::normals_split_merge (bContext *C, const bool do_merge)
static wmOperatorStatus blender::edbm_merge_normals_exec (bContext *C, wmOperator *)
void blender::MESH_OT_merge_normals (wmOperatorType *ot)
static wmOperatorStatus blender::edbm_split_normals_exec (bContext *C, wmOperator *)
void blender::MESH_OT_split_normals (wmOperatorType *ot)
Set Normals from Faces Operator
static wmOperatorStatus blender::edbm_set_normals_from_faces_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_set_normals_from_faces (wmOperatorType *ot)
Smooth Normal Vectors Operator
static wmOperatorStatus blender::edbm_smooth_normals_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_smooth_normals (wmOperatorType *ot)

Loop Normals Editing Tools Modal Map

#define CLNORS_VALID_VEC_LEN   (1e-4f)
enum  {
  blender::EDBM_CLNOR_MODAL_CANCEL = 1 , blender::EDBM_CLNOR_MODAL_CONFIRM = 2 , blender::EDBM_CLNOR_MODAL_POINTTO_RESET = 101 , blender::EDBM_CLNOR_MODAL_POINTTO_INVERT = 102 ,
  blender::EDBM_CLNOR_MODAL_POINTTO_SPHERIZE = 103 , blender::EDBM_CLNOR_MODAL_POINTTO_ALIGN = 104 , blender::EDBM_CLNOR_MODAL_POINTTO_USE_MOUSE = 110 , blender::EDBM_CLNOR_MODAL_POINTTO_USE_PIVOT = 111 ,
  blender::EDBM_CLNOR_MODAL_POINTTO_USE_OBJECT = 112 , blender::EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR = 113 , blender::EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED = 114
}
wmKeyMap * blender::point_normals_modal_keymap (wmKeyConfig *keyconf)

Delete Operator

enum  {
  blender::MESH_DELETE_VERT = 0 , blender::MESH_DELETE_EDGE = 1 , blender::MESH_DELETE_FACE = 2 , blender::MESH_DELETE_EDGE_FACE = 3 ,
  blender::MESH_DELETE_ONLY_FACE = 4
}
static void blender::edbm_report_delete_info (ReportList *reports, const int totelem_old[3], const int totelem_new[3])
static wmOperatorStatus blender::edbm_delete_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_delete (wmOperatorType *ot)

Merge Vertices Operator

enum  {
  blender::MESH_MERGE_LAST = 1 , blender::MESH_MERGE_CENTER = 3 , blender::MESH_MERGE_CURSOR = 4 , blender::MESH_MERGE_COLLAPSE = 5 ,
  blender::MESH_MERGE_FIRST = 6
}
static const EnumPropertyItem blender::merge_type_items []
static bool blender::merge_firstlast (BMesh *bm, const bool use_first, const bool use_uvmerge, wmOperator *wmop)
static bool blender::merge_target (BMesh *bm, Scene *scene, Object *ob, const bool use_cursor, const bool use_uvmerge, wmOperator *wmop)
static wmOperatorStatus blender::edbm_merge_exec (bContext *C, wmOperator *op)
static const EnumPropertyItem * blender::merge_type_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free)
void blender::MESH_OT_merge (wmOperatorType *ot)

Separate Parts Operator

enum  { blender::MESH_SEPARATE_SELECTED = 0 , blender::MESH_SEPARATE_MATERIAL = 1 , blender::MESH_SEPARATE_LOOSE = 2 }
static Base * blender::mesh_separate_tagged (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old)
static Base * blender::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 blender::mesh_separate_selected (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old)
static void blender::mesh_separate_material_assign_mat_nr (Main *bmain, Object *ob, const short mat_nr)
static bool blender::mesh_separate_material (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old)
static bool blender::mesh_separate_loose (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_old, BMesh *bm_old)
static wmOperatorStatus blender::edbm_separate_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_separate (wmOperatorType *ot)

Sort Geometry Elements Operator

Unified for vertices/edges/faces.

enum  {
  blender::SRT_VIEW_ZAXIS = 1 , blender::SRT_VIEW_XAXIS , blender::SRT_CURSOR_DISTANCE , blender::SRT_MATERIAL ,
  blender::SRT_SELECTED , blender::SRT_RANDOMIZE , blender::SRT_REVERSE
}
static int blender::bmelemsort_comp (const void *v1, const void *v2)
static void blender::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 wmOperatorStatus blender::edbm_sort_elements_exec (bContext *C, wmOperator *op)
static bool blender::edbm_sort_elements_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop)
void blender::MESH_OT_sort_elements (wmOperatorType *ot)

Bridge Operator

enum  { blender::MESH_BRIDGELOOP_SINGLE = 0 , blender::MESH_BRIDGELOOP_CLOSED = 1 , blender::MESH_BRIDGELOOP_PAIRS = 2 }
static int blender::edbm_bridge_tag_boundary_edges (BMesh *bm)
static int blender::edbm_bridge_edge_loops_for_single_editmesh (wmOperator *op, Mesh *mesh, const bool use_pairs, const bool use_cyclic, const bool use_merge, const float merge_factor, const int twist_offset)
static wmOperatorStatus blender::edbm_bridge_edge_loops_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_bridge_edge_loops (wmOperatorType *ot)

Loop Normals 'Point To' Operator

enum  { blender::EDBM_CLNOR_POINTTO_MODE_COORDINATES = 1 , blender::EDBM_CLNOR_POINTTO_MODE_MOUSE = 2 }
static EnumPropertyItem blender::clnors_pointto_mode_items []
static bool blender::point_normals_init (bContext *C, wmOperator *op)
static bool blender::point_normals_ensure (bContext *C, wmOperator *op)
static void blender::point_normals_free (wmOperator *op)
static void blender::point_normals_cancel (bContext *C, wmOperator *op)
static void blender::point_normals_update_statusbar (bContext *C, wmOperator *op)
static void blender::bmesh_selected_verts_center_calc (BMesh *bm, float *r_center)
static void blender::point_normals_apply (bContext *C, wmOperator *op, float target[3], const bool do_reset)
static wmOperatorStatus blender::edbm_point_normals_modal (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::edbm_point_normals_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::edbm_point_normals_exec (bContext *C, wmOperator *op)
static bool blender::point_normals_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *)
static void blender::edbm_point_normals_ui (bContext *C, wmOperator *op)
void blender::MESH_OT_point_normals (wmOperatorType *ot)

Average Loop Normals Operator

enum  { blender::EDBM_CLNOR_AVERAGE_LOOP = 1 , blender::EDBM_CLNOR_AVERAGE_FACE_AREA = 2 , blender::EDBM_CLNOR_AVERAGE_ANGLE = 3 }
static EnumPropertyItem blender::average_method_items []
static wmOperatorStatus blender::edbm_average_normals_exec (bContext *C, wmOperator *op)
static bool blender::average_normals_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *)
static void blender::edbm_average_normals_ui (bContext *C, wmOperator *op)
void blender::MESH_OT_average_normals (wmOperatorType *ot)

Custom Normal Interface Tools Operator

enum  {
  blender::EDBM_CLNOR_TOOLS_COPY = 1 , blender::EDBM_CLNOR_TOOLS_PASTE = 2 , blender::EDBM_CLNOR_TOOLS_MULTIPLY = 3 , blender::EDBM_CLNOR_TOOLS_ADD = 4 ,
  blender::EDBM_CLNOR_TOOLS_RESET = 5
}
static EnumPropertyItem blender::normal_vector_tool_items []
static wmOperatorStatus blender::edbm_normals_tools_exec (bContext *C, wmOperator *op)
static bool blender::normals_tools_draw_check_prop (PointerRNA *ptr, PropertyRNA *prop, void *)
static void blender::edbm_normals_tools_ui (bContext *C, wmOperator *op)
static bool blender::edbm_normals_tools_ui_poll (wmOperatorType *, PointerRNA *ptr)
void blender::MESH_OT_normals_tools (wmOperatorType *ot)

Subdivide Operator

static const EnumPropertyItem blender::prop_mesh_cornervert_types []
static wmOperatorStatus blender::edbm_subdivide_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_subdivide (wmOperatorType *ot)

Weighted Normal Modifier Face Strength

static const EnumPropertyItem blender::prop_mesh_face_strength_types []
static wmOperatorStatus blender::edbm_mod_weighted_strength_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_mod_weighted_strength (wmOperatorType *ot)
void blender::MESH_OT_flip_quad_tessellation (wmOperatorType *ot)

Macro Definition Documentation

◆ CLNORS_VALID_VEC_LEN

◆ USE_FACE_CREATE_SEL_EXTEND

#define USE_FACE_CREATE_SEL_EXTEND

Definition at line 84 of file editmesh_tools.cc.