Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_hash.h"
#include "BLI_math.h"
#include "BLI_task.h"
#include "DNA_brush_types.h"
#include "DNA_customdata_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_brush.h"
#include "BKE_ccg.h"
#include "BKE_colortools.h"
#include "BKE_context.h"
#include "BKE_customdata.h"
#include "BKE_mesh.h"
#include "BKE_mesh_fair.h"
#include "BKE_mesh_mapping.h"
#include "BKE_multires.h"
#include "BKE_node.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_pbvh.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "ED_view3d.h"
#include "paint_intern.h"
#include "sculpt_intern.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "bmesh.h"
#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
Typedefs | |
typedef enum eSculptFaceGroupsCreateModes | eSculptFaceGroupsCreateModes |
typedef enum eSculptFaceSetsInitMode | eSculptFaceSetsInitMode |
typedef bool(* | face_sets_flood_fill_test) (BMesh *bm, BMFace *from_f, BMEdge *from_e, BMFace *to_f, const float threshold) |
typedef enum eSculptFaceGroupVisibilityModes | eSculptFaceGroupVisibilityModes |
typedef enum eSculptFaceSetEditMode | eSculptFaceSetEditMode |
Variables | |
static EnumPropertyItem | prop_sculpt_face_set_create_types [] |
static EnumPropertyItem | prop_sculpt_face_sets_init_types [] |
static EnumPropertyItem | prop_sculpt_face_sets_change_visibility_types [] |
static EnumPropertyItem | prop_sculpt_face_sets_edit_types [] |
typedef enum eSculptFaceGroupsCreateModes eSculptFaceGroupsCreateModes |
typedef enum eSculptFaceSetEditMode eSculptFaceSetEditMode |
typedef enum eSculptFaceSetsInitMode eSculptFaceSetsInitMode |
typedef bool(* face_sets_flood_fill_test) (BMesh *bm, BMFace *from_f, BMEdge *from_e, BMFace *to_f, const float threshold) |
Definition at line 502 of file sculpt_face_set.c.
Enumerator | |
---|---|
SCULPT_FACE_SET_MASKED | |
SCULPT_FACE_SET_VISIBLE | |
SCULPT_FACE_SET_ALL | |
SCULPT_FACE_SET_SELECTION |
Definition at line 254 of file sculpt_face_set.c.
Enumerator | |
---|---|
SCULPT_FACE_SET_VISIBILITY_TOGGLE | |
SCULPT_FACE_SET_VISIBILITY_SHOW_ACTIVE | |
SCULPT_FACE_SET_VISIBILITY_HIDE_ACTIVE | |
SCULPT_FACE_SET_VISIBILITY_INVERT | |
SCULPT_FACE_SET_VISIBILITY_SHOW_ALL |
Definition at line 786 of file sculpt_face_set.c.
Enumerator | |
---|---|
SCULPT_FACE_SET_EDIT_GROW | |
SCULPT_FACE_SET_EDIT_SHRINK | |
SCULPT_FACE_SET_EDIT_DELETE_GEOMETRY | |
SCULPT_FACE_SET_EDIT_FAIR_POSITIONS | |
SCULPT_FACE_SET_EDIT_FAIR_TANGENCY |
Definition at line 1032 of file sculpt_face_set.c.
Definition at line 422 of file sculpt_face_set.c.
|
static |
Definition at line 1139 of file sculpt_face_set.c.
References blender::math::abs(), SCULPT_FACE_SET_NONE, and SculptSession::totfaces.
Referenced by sculpt_face_set_edit_is_operation_valid().
|
static |
Definition at line 108 of file sculpt_face_set.c.
References blender::math::abs(), BKE_mesh_calc_poly_center(), BKE_pbvh_type(), BKE_pbvh_vertex_iter_begin, BKE_pbvh_vertex_iter_end, BLI_task_parallel_thread_id(), StrokeCache::bstrength, SculptSession::cache, PBVHVertexIter::co, MeshElemMap::count, data, SculptBrushTest::dist, SculptSession::face_sets, fade(), PBVHVertexIter::fno, PBVHVertexIter::index, MeshElemMap::indices, MPoly::loopstart, PBVHVertexIter::mask, SculptSession::mloop, SculptSession::mpoly, PBVHVertexIter::no, StrokeCache::paint_face_set, SculptSession::pbvh, PBVH_FACES, PBVH_GRIDS, PBVH_ITER_UNIQUE, SculptSession::pmap, SCULPT_brush_strength_factor(), SCULPT_brush_test_init_with_falloff_shape(), SCULPT_mesh_deformed_mverts_get(), SCULPT_vertex_face_set_set(), sqrtf, and blender::threading::enumerable_thread_specific_utils::thread_id.
Referenced by SCULPT_do_draw_face_sets_brush().
|
static |
Definition at line 175 of file sculpt_face_set.c.
References BKE_pbvh_vert_tag_update_normal(), BKE_pbvh_vertex_iter_begin, BKE_pbvh_vertex_iter_end, BLI_task_parallel_thread_id(), StrokeCache::bstrength, SculptSession::cache, PBVHVertexIter::co, data, SculptBrushTest::dist, fade(), PBVHVertexIter::fno, PBVHVertexIter::index, StrokeCache::iteration_count, PBVHVertexIter::mask, PBVHVertexIter::mvert, PBVHVertexIter::no, SculptSession::pbvh, PBVH_ITER_UNIQUE, SCULPT_brush_strength_factor(), SCULPT_brush_test_init_with_falloff_shape(), SCULPT_relax_vertex(), SCULPT_vertex_has_unique_face_set(), sqrtf, and blender::threading::enumerable_thread_specific_utils::thread_id.
Referenced by SCULPT_do_draw_face_sets_brush().
Definition at line 91 of file sculpt_face_set.c.
References C, Object::sculpt, SCULPT_active_face_set_get(), SCULPT_cursor_geometry_info_update(), and SCULPT_FACE_SET_NONE.
Referenced by face_set_extract_modal().
int ED_sculpt_face_sets_find_next_available_id | ( | struct Mesh * | mesh | ) |
Definition at line 61 of file sculpt_face_set.c.
References blender::math::abs(), CD_SCULPT_FACE_SETS, CustomData_get_layer(), max_ii(), mesh, Mesh::pdata, SCULPT_FACE_SET_NONE, and Mesh::totpoly.
Referenced by paint_mask_slice_exec(), sculpt_expand_set_initial_components_for_mouse(), sculpt_gesture_init_face_set_properties(), and sculpt_gesture_trim_end().
Definition at line 77 of file sculpt_face_set.c.
References CD_SCULPT_FACE_SETS, CustomData_get_layer(), mesh, Mesh::pdata, SCULPT_FACE_SET_NONE, and Mesh::totpoly.
Referenced by paint_mask_slice_exec(), and sculpt_gesture_trim_end().
|
static |
Definition at line 1317 of file sculpt_face_set.c.
References BKE_mesh_flush_hidden_from_verts(), BKE_pbvh_node_mark_update_visibility(), BKE_pbvh_type(), BKE_pbvh_update_vertex_data(), Object::data, SculptSession::pbvh, PBVH_FACES, PBVH_UpdateVisibility, Object::sculpt, and SCULPT_visibility_sync_all_face_sets_to_vertices().
Referenced by sculpt_face_set_edit_modify_face_sets().
Definition at line 224 of file sculpt_face_set.c.
References StrokeCache::alt_smooth, BKE_curvemapping_init(), BKE_paint_brush(), BKE_pbvh_parallel_range_settings(), BLI_task_parallel_range(), SculptSession::cache, Brush::curve, data, do_draw_face_sets_brush_task_cb_ex(), do_relax_face_sets_brush_task_cb_ex(), Sculpt::paint, Object::sculpt, and SCULPT_boundary_info_ensure().
Referenced by do_brush_action().
|
static |
Definition at line 1235 of file sculpt_face_set.c.
References SculptSession::face_sets, MEM_dupallocN, MEM_SAFE_FREE, MESH_FAIRING_DEPTH_POSITION, MESH_FAIRING_DEPTH_TANGENCY, Object::sculpt, sculpt_face_set_delete_geometry(), SCULPT_FACE_SET_EDIT_DELETE_GEOMETRY, sculpt_face_set_edit_fair_face_set(), SCULPT_FACE_SET_EDIT_FAIR_POSITIONS, SCULPT_FACE_SET_EDIT_FAIR_TANGENCY, SCULPT_FACE_SET_EDIT_GROW, SCULPT_FACE_SET_EDIT_SHRINK, sculpt_face_set_grow(), and sculpt_face_set_shrink().
Referenced by sculpt_face_set_edit_modify_coordinates(), sculpt_face_set_edit_modify_face_sets(), and sculpt_face_set_edit_modify_geometry().
|
static |
Definition at line 293 of file sculpt_face_set.c.
References BKE_pbvh_face_sets_color_set(), BKE_pbvh_node_mark_redraw(), BKE_pbvh_search_gather(), BKE_pbvh_type(), BKE_sculpt_update_object_for_edit(), bm, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_bm_from_me(), BM_mesh_create(), BM_mesh_free(), BMALLOC_TEMPLATE_FROM_ME, C, CTX_data_active_object(), CTX_data_depsgraph_pointer(), Object::data, depsgraph, SculptSession::face_sets, Mesh::face_sets_color_default, Mesh::face_sets_color_seed, MEM_SAFE_FREE, mesh, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, SculptSession::pbvh, PBVH_BMESH, wmOperator::ptr, RNA_enum_get(), Object::sculpt, SCULPT_FACE_SET_ALL, SCULPT_FACE_SET_MASKED, SCULPT_face_set_next_available_get(), SCULPT_FACE_SET_SELECTION, SCULPT_FACE_SET_VISIBLE, SCULPT_tag_update_overlays(), SCULPT_UNDO_FACE_SETS, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), SCULPT_undo_push_node(), SCULPT_vertex_count_get(), SCULPT_vertex_face_set_set(), SCULPT_vertex_mask_get(), SCULPT_vertex_visible_get(), and threshold.
Referenced by SCULPT_OT_face_sets_create().
|
static |
Definition at line 1168 of file sculpt_face_set.c.
References blender::math::abs(), bm, BM_EDGE, BM_elem_flag_set, BM_elem_index_get, BM_ELEM_TAG, BM_FACE, BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_bm_from_me(), BM_mesh_bm_to_me(), BM_mesh_create(), BM_mesh_delete_hflag_context(), BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_table_ensure(), BM_mesh_elem_table_init(), BM_mesh_free(), BM_VERT, BMALLOC_TEMPLATE_FROM_ME, Object::data, DEL_FACES, SculptSession::face_sets, mesh, and NULL.
Referenced by sculpt_face_set_apply_edit().
|
static |
Definition at line 1212 of file sculpt_face_set.c.
References BKE_mesh_prefair_and_fair_vertices(), Object::data, MEM_freeN, MEM_malloc_arrayN, mesh, Object::sculpt, SCULPT_boundary_info_ensure(), SCULPT_mesh_deformed_mverts_get(), SCULPT_vertex_count_get(), SCULPT_vertex_has_face_set(), SCULPT_vertex_has_unique_face_set(), and SCULPT_vertex_is_boundary().
Referenced by sculpt_face_set_apply_edit().
|
static |
Definition at line 1384 of file sculpt_face_set.c.
References BKE_sculpt_update_object_for_edit(), C, CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), depsgraph, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), Object::sculpt, SCULPT_active_face_set_get(), SCULPT_cursor_geometry_info_update(), SCULPT_FACE_SET_EDIT_DELETE_GEOMETRY, SCULPT_FACE_SET_EDIT_FAIR_POSITIONS, SCULPT_FACE_SET_EDIT_FAIR_TANGENCY, SCULPT_FACE_SET_EDIT_GROW, sculpt_face_set_edit_is_operation_valid(), sculpt_face_set_edit_modify_coordinates(), sculpt_face_set_edit_modify_face_sets(), sculpt_face_set_edit_modify_geometry(), SCULPT_FACE_SET_EDIT_SHRINK, SCULPT_tag_update_overlays(), and UNPACK2.
Referenced by SCULPT_OT_face_sets_edit().
|
static |
Definition at line 1267 of file sculpt_face_set.c.
References BKE_pbvh_type(), check_single_face_set(), ELEM, SculptSession::face_sets, SculptSession::pbvh, PBVH_BMESH, PBVH_GRIDS, SCULPT_FACE_SET_EDIT_DELETE_GEOMETRY, SCULPT_FACE_SET_EDIT_FAIR_POSITIONS, and SCULPT_FACE_SET_EDIT_FAIR_TANGENCY.
Referenced by sculpt_face_set_edit_invoke().
|
static |
Definition at line 1357 of file sculpt_face_set.c.
References blender::math::abs(), BKE_pbvh_node_mark_update(), BKE_pbvh_search_gather(), C, CTX_data_tool_settings(), SculptSession::deform_modifiers_active, MEM_freeN, NULL, SculptSession::pbvh, Object::sculpt, ToolSettings::sculpt, sculpt_face_set_apply_edit(), SCULPT_flush_stroke_deform(), SCULPT_flush_update_done(), SCULPT_flush_update_step(), SCULPT_UNDO_COORDS, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), SCULPT_undo_push_node(), SCULPT_UPDATE_COORDS, and SculptSession::shapekey_active.
Referenced by sculpt_face_set_edit_invoke().
|
static |
Definition at line 1336 of file sculpt_face_set.c.
References blender::math::abs(), BKE_pbvh_search_gather(), face_set_edit_do_post_visibility_updates(), MEM_freeN, NULL, SculptSession::pbvh, Object::sculpt, sculpt_face_set_apply_edit(), SCULPT_UNDO_FACE_SETS, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), and SCULPT_undo_push_node().
Referenced by sculpt_face_set_edit_invoke().
|
static |
Definition at line 1303 of file sculpt_face_set.c.
References blender::math::abs(), BKE_mesh_batch_cache_dirty_tag(), BKE_MESH_BATCH_DIRTY_ALL, C, Object::data, DEG_id_tag_update(), ED_sculpt_undo_geometry_begin(), ED_sculpt_undo_geometry_end(), Object::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, sculpt_face_set_apply_edit(), and WM_event_add_notifier().
Referenced by sculpt_face_set_edit_invoke().
|
static |
Definition at line 1081 of file sculpt_face_set.c.
References blender::math::abs(), BKE_mesh_from_object(), MeshElemMap::count, SculptSession::face_sets, MeshElemMap::indices, l, MPoly::loopstart, mesh, Mesh::mloop, Mesh::mpoly, SculptSession::pmap, MPoly::totloop, Mesh::totpoly, and MLoop::v.
Referenced by sculpt_face_set_apply_edit().
|
static |
Definition at line 677 of file sculpt_face_set.c.
References BKE_mesh_flush_hidden_from_verts(), BKE_pbvh_node_mark_update_visibility(), BKE_pbvh_search_gather(), BKE_pbvh_type(), BKE_pbvh_update_vertex_data(), BKE_sculpt_update_object_for_edit(), C, CTX_data_active_object(), CTX_data_depsgraph_pointer(), Object::data, depsgraph, MEM_SAFE_FREE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, SculptSession::pbvh, PBVH_BMESH, PBVH_FACES, PBVH_UpdateVisibility, wmOperator::ptr, RNA_enum_get(), RNA_float_get(), Object::sculpt, SCULPT_FACE_SETS_FROM_BEVEL_WEIGHT, SCULPT_FACE_SETS_FROM_CREASES, SCULPT_FACE_SETS_FROM_FACE_MAPS, SCULPT_FACE_SETS_FROM_FACE_SET_BOUNDARIES, SCULPT_FACE_SETS_FROM_LOOSE_PARTS, SCULPT_FACE_SETS_FROM_MATERIALS, SCULPT_FACE_SETS_FROM_NORMALS, SCULPT_FACE_SETS_FROM_SHARP_EDGES, SCULPT_FACE_SETS_FROM_UV_SEAMS, sculpt_face_sets_init_bevel_weight_test(), sculpt_face_sets_init_crease_test(), sculpt_face_sets_init_face_set_boundary_test(), sculpt_face_sets_init_flood_fill(), sculpt_face_sets_init_loop(), sculpt_face_sets_init_loose_parts_test(), sculpt_face_sets_init_normals_test(), sculpt_face_sets_init_sharp_edges_test(), sculpt_face_sets_init_uv_seams_test(), SCULPT_tag_update_overlays(), SCULPT_UNDO_FACE_SETS, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), SCULPT_undo_push_node(), SCULPT_visibility_sync_all_face_sets_to_vertices(), and threshold.
Referenced by SCULPT_OT_face_sets_init().
|
static |
Definition at line 1109 of file sculpt_face_set.c.
References blender::math::abs(), BKE_mesh_from_object(), MeshElemMap::count, SculptSession::face_sets, MeshElemMap::indices, l, MPoly::loopstart, mesh, Mesh::mloop, Mesh::mpoly, SculptSession::pmap, MPoly::totloop, Mesh::totpoly, and MLoop::v.
Referenced by sculpt_face_set_apply_edit().
|
static |
Definition at line 833 of file sculpt_face_set.c.
References UnifiedPaintSettings::average_stroke_accum, UnifiedPaintSettings::average_stroke_counter, BKE_pbvh_node_mark_update_visibility(), BKE_pbvh_search_gather(), BKE_pbvh_type(), BKE_pbvh_update_vertex_data(), BKE_sculpt_update_object_for_edit(), C, copy_v3_v3(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_tool_settings(), depsgraph, ELEM, SculptSession::face_sets, UnifiedPaintSettings::last_stroke_valid, MEM_SAFE_FREE, mul_m4_v3(), NULL, Object::obmat, OPERATOR_CANCELLED, OPERATOR_FINISHED, SculptSession::pbvh, PBVH_BMESH, PBVH_GRIDS, PBVH_UpdateVisibility, wmOperator::ptr, RNA_enum_get(), Object::sculpt, SCULPT_active_face_set_get(), SCULPT_active_vertex_co_get(), SCULPT_FACE_SET_VISIBILITY_HIDE_ACTIVE, SCULPT_FACE_SET_VISIBILITY_INVERT, SCULPT_face_set_visibility_set(), SCULPT_FACE_SET_VISIBILITY_SHOW_ACTIVE, SCULPT_FACE_SET_VISIBILITY_SHOW_ALL, SCULPT_FACE_SET_VISIBILITY_TOGGLE, SCULPT_face_sets_visibility_all_set(), SCULPT_face_sets_visibility_invert(), SCULPT_tag_update_overlays(), SCULPT_UNDO_FACE_SETS, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), SCULPT_undo_push_node(), SCULPT_vertex_count_get(), SCULPT_vertex_visible_get(), SCULPT_visibility_sync_all_face_sets_to_vertices(), SculptSession::totfaces, and ToolSettings::unified_paint_settings.
Referenced by sculpt_face_sets_change_visibility_invoke(), and SCULPT_OT_face_sets_change_visibility().
|
static |
Definition at line 942 of file sculpt_face_set.c.
References C, CTX_data_active_object(), wmEvent::mval, Object::sculpt, SCULPT_cursor_geometry_info_update(), sculpt_face_sets_change_visibility_exec(), SCULPT_vertex_random_access_ensure(), and UNPACK2.
Referenced by SCULPT_OT_face_sets_change_visibility().
|
static |
Definition at line 535 of file sculpt_face_set.c.
References bm, BM_elem_float_data_get(), CD_BWEIGHT, BMesh::edata, and threshold.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 529 of file sculpt_face_set.c.
References bm, BM_elem_float_data_get(), CD_CREASE, BMesh::edata, and threshold.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 550 of file sculpt_face_set.c.
References bm, BM_ELEM_CD_GET_INT, CD_SCULPT_FACE_SETS, CustomData_get_offset(), and BMesh::pdata.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 558 of file sculpt_face_set.c.
References BLI_BITMAP_ENABLE, BLI_BITMAP_NEW, BLI_BITMAP_TEST, BLI_gsqueue_free(), BLI_gsqueue_is_empty(), BLI_gsqueue_new(), BLI_gsqueue_pop(), BLI_gsqueue_push(), bm, BM_EDGES_OF_FACE, BM_elem_index_get, BM_FACE, BM_face_at_index(), BM_FACES_OF_EDGE, BM_ITER_ELEM, BM_mesh_bm_from_me(), BM_mesh_create(), BM_mesh_elem_table_ensure(), BM_mesh_elem_table_init(), BM_mesh_free(), BMALLOC_TEMPLATE_FROM_ME, Object::data, SculptSession::face_sets, MEM_SAFE_FREE, mesh, queue, Object::sculpt, threshold, and Mesh::totpoly.
Referenced by sculpt_face_set_init_exec().
Definition at line 639 of file sculpt_face_set.c.
References bm, BM_ELEM_CD_GET_INT, BM_elem_index_get, BM_FACES_OF_MESH, BM_ITER_MESH, BM_mesh_bm_from_me(), BM_mesh_create(), BM_mesh_free(), BMALLOC_TEMPLATE_FROM_ME, CD_FACEMAP, CustomData_get_offset(), Object::data, SculptSession::face_sets, BMFace::mat_nr, mesh, BMesh::pdata, Object::sculpt, SCULPT_FACE_SETS_FROM_FACE_MAPS, and SCULPT_FACE_SETS_FROM_MATERIALS.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 505 of file sculpt_face_set.c.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 514 of file sculpt_face_set.c.
References dot_v3v3(), fabsf, BMFace::no, and threshold.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 541 of file sculpt_face_set.c.
References BM_elem_flag_test, and BM_ELEM_SMOOTH.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 520 of file sculpt_face_set.c.
References BM_elem_flag_test, and BM_ELEM_SEAM.
Referenced by sculpt_face_set_init_exec().
|
static |
Definition at line 981 of file sculpt_face_set.c.
References BKE_pbvh_face_sets_color_set(), BKE_pbvh_node_mark_redraw(), BKE_pbvh_search_gather(), BKE_pbvh_type(), BLI_hash_int_01(), C, clamp_i(), CTX_data_active_object(), Object::data, SculptSession::face_sets, Mesh::face_sets_color_default, Mesh::face_sets_color_seed, max_ii(), MEM_SAFE_FREE, mesh, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, SculptSession::pbvh, PBVH_BMESH, Object::sculpt, SCULPT_tag_update_overlays(), and SculptSession::totfaces.
Referenced by SCULPT_OT_face_sets_randomize_colors().
void SCULPT_OT_face_sets_change_visibility | ( | wmOperatorType * | ot | ) |
Definition at line 959 of file sculpt_face_set.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_sculpt_face_sets_change_visibility_types, RNA_def_enum(), SCULPT_FACE_SET_VISIBILITY_TOGGLE, sculpt_face_sets_change_visibility_exec(), sculpt_face_sets_change_visibility_invoke(), SCULPT_mode_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_sculpt().
void SCULPT_OT_face_sets_create | ( | wmOperatorType * | ot | ) |
Definition at line 405 of file sculpt_face_set.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_sculpt_face_set_create_types, RNA_def_enum(), sculpt_face_set_create_exec(), SCULPT_FACE_SET_MASKED, SCULPT_mode_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_sculpt().
void SCULPT_OT_face_sets_edit | ( | struct wmOperatorType * | ot | ) |
Definition at line 1428 of file sculpt_face_set.c.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_sculpt_face_sets_edit_types, RNA_def_boolean(), RNA_def_enum(), SCULPT_FACE_SET_EDIT_GROW, sculpt_face_set_edit_invoke(), SCULPT_mode_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_sculpt().
void SCULPT_OT_face_sets_init | ( | wmOperatorType * | ot | ) |
Definition at line 759 of file sculpt_face_set.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_sculpt_face_sets_init_types, RNA_def_enum(), RNA_def_float(), sculpt_face_set_init_exec(), SCULPT_FACE_SET_MASKED, SCULPT_mode_poll(), and wmOperatorType::srna.
Referenced by ED_operatortypes_sculpt().
void SCULPT_OT_face_sets_randomize_colors | ( | wmOperatorType * | ot | ) |
Definition at line 1018 of file sculpt_face_set.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sculpt_face_sets_randomize_colors_exec(), and SCULPT_mode_poll().
Referenced by ED_operatortypes_sculpt().
|
static |
Definition at line 261 of file sculpt_face_set.c.
Referenced by SCULPT_OT_face_sets_create().
|
static |
Definition at line 794 of file sculpt_face_set.c.
Referenced by SCULPT_OT_face_sets_change_visibility().
|
static |
Definition at line 1040 of file sculpt_face_set.c.
Referenced by SCULPT_OT_face_sets_edit().
|
static |
Definition at line 434 of file sculpt_face_set.c.
Referenced by SCULPT_OT_face_sets_init().