|
Blender
V2.93
|
Go to the source code of this file.
| void ED_operatortypes_sculpt | ( | void | ) |
Definition at line 9426 of file sculpt.c.
References SCULPT_OT_brush_stroke(), SCULPT_OT_cloth_filter(), SCULPT_OT_color_filter(), SCULPT_OT_detail_flood_fill(), SCULPT_OT_dirty_mask(), SCULPT_OT_dynamic_topology_toggle(), SCULPT_OT_dyntopo_detail_size_edit(), SCULPT_OT_expand(), SCULPT_OT_face_set_box_gesture(), SCULPT_OT_face_set_lasso_gesture(), SCULPT_OT_face_sets_change_visibility(), SCULPT_OT_face_sets_create(), SCULPT_OT_face_sets_edit(), SCULPT_OT_face_sets_init(), SCULPT_OT_face_sets_randomize_colors(), SCULPT_OT_loop_to_vertex_colors(), SCULPT_OT_mask_by_color(), SCULPT_OT_mask_expand(), SCULPT_OT_mask_filter(), SCULPT_OT_mask_init(), SCULPT_OT_mesh_filter(), SCULPT_OT_optimize(), SCULPT_OT_project_line_gesture(), SCULPT_OT_sample_color(), SCULPT_OT_sample_detail_size(), SCULPT_OT_sculptmode_toggle(), SCULPT_OT_set_detail_size(), SCULPT_OT_set_persistent_base(), SCULPT_OT_set_pivot_position(), SCULPT_OT_symmetrize(), SCULPT_OT_trim_box_gesture(), SCULPT_OT_trim_lasso_gesture(), SCULPT_OT_vertex_to_loop_colors(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
Definition at line 243 of file sculpt_transform.c.
References C, SculptSession::filter_cache, Object::sculpt, SCULPT_filter_cache_free(), SCULPT_flush_update_done(), SCULPT_undo_push_end_ex(), and SCULPT_UPDATE_COORDS.
Referenced by special_aftertrans_update__sculpt().
| int ED_sculpt_face_sets_active_update_and_get | ( | struct bContext * | C, |
| struct Object * | ob, | ||
| const float | mval[2] | ||
| ) |
Definition at line 106 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 76 of file sculpt_face_set.c.
References abs(), CD_SCULPT_FACE_SETS, CustomData_get_layer(), max_ii(), mesh, 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().
| void ED_sculpt_face_sets_initialize_none_to_id | ( | struct Mesh * | mesh, |
| const int | new_id | ||
| ) |
Definition at line 92 of file sculpt_face_set.c.
References CD_SCULPT_FACE_SETS, CustomData_get_layer(), mesh, SCULPT_FACE_SET_NONE, and Mesh::totpoly.
Referenced by paint_mask_slice_exec(), and sculpt_gesture_trim_end().
Definition at line 63 of file sculpt_transform.c.
References BKE_sculpt_update_object_for_edit(), C, copy_v3_v3(), copy_v4_v4(), CTX_data_depsgraph_pointer(), CTX_data_tool_settings(), depsgraph, SculptSession::filter_cache, SculptSession::init_pivot_pos, SculptSession::init_pivot_rot, SculptSession::init_pivot_scale, SculptSession::pivot_pos, SculptSession::pivot_rot, SculptSession::pivot_scale, SculptSession::prev_pivot_pos, SculptSession::prev_pivot_rot, SculptSession::prev_pivot_scale, Object::sculpt, ToolSettings::sculpt, SCULPT_filter_cache_init(), SCULPT_TRANSFORM_DISPLACEMENT_ORIGINAL, SCULPT_UNDO_COORDS, SCULPT_undo_push_begin(), SCULPT_vertex_random_access_ensure(), and FilterCache::transform_displacement_mode.
Referenced by createTransSculpt().
| bool ED_sculpt_mask_box_select | ( | struct bContext * | C, |
| struct ViewContext * | vc, | ||
| const struct rcti * | rect, | ||
| bool | select | ||
| ) |
| void ED_sculpt_redraw_planes_get | ( | float | planes[4][4], |
| struct ARegion * | region, | ||
| struct Object * | ob | ||
| ) |
Definition at line 1592 of file sculpt.c.
References BKE_pbvh_update_bounds(), SculptSession::cache, StrokeCache::current_r, paint_calc_redraw_planes(), SculptSession::pbvh, PBVH_UpdateRedraw, StrokeCache::previous_r, Object::sculpt, and sculpt_extend_redraw_rect_previous().
| void ED_sculpt_undo_geometry_begin | ( | struct Object * | ob, |
| const char * | name | ||
| ) |
Definition at line 1591 of file sculpt_undo.c.
References NULL, SCULPT_UNDO_GEOMETRY, SCULPT_undo_push_begin(), and SCULPT_undo_push_node().
Referenced by paint_mask_slice_exec(), quadriflow_start_job(), sculpt_face_set_edit_modify_geometry(), sculpt_symmetrize_exec(), and voxel_remesh_exec().
| void ED_sculpt_undo_geometry_end | ( | struct Object * | ob | ) |
Definition at line 1597 of file sculpt_undo.c.
References NULL, SCULPT_UNDO_GEOMETRY, SCULPT_undo_push_end(), and SCULPT_undo_push_node().
Referenced by paint_mask_slice_exec(), quadriflow_start_job(), sculpt_face_set_edit_modify_geometry(), sculpt_symmetrize_exec(), and voxel_remesh_exec().
| void ED_sculpt_undo_push_multires_mesh_begin | ( | struct bContext * | C, |
| const char * | str | ||
| ) |
Definition at line 1699 of file sculpt_undo.c.
References C, CTX_data_active_object(), SculptUndoNode::geometry_clear_pbvh, NULL, SCULPT_UNDO_GEOMETRY, sculpt_undo_push_all_grids(), SCULPT_undo_push_begin(), SCULPT_undo_push_node(), sculpt_undo_use_multires_mesh(), and str.
Referenced by multires_base_apply_exec().
| void ED_sculpt_undo_push_multires_mesh_end | ( | struct bContext * | C, |
| const char * | str | ||
| ) |
Definition at line 1715 of file sculpt_undo.c.
References C, CTX_data_active_object(), ED_undo_push(), SculptUndoNode::geometry_clear_pbvh, NULL, SCULPT_UNDO_GEOMETRY, SCULPT_undo_push_end(), SCULPT_undo_push_node(), sculpt_undo_use_multires_mesh(), and str.
Referenced by multires_base_apply_exec().
| void ED_sculpt_undosys_type | ( | struct UndoType * | ut | ) |
Definition at line 1604 of file sculpt_undo.c.
References UndoType::flags, UndoType::name, NULL, UndoType::poll, sculpt_undosys_step_decode(), sculpt_undosys_step_encode(), sculpt_undosys_step_encode_init(), sculpt_undosys_step_free(), UndoType::step_decode, UndoType::step_encode, UndoType::step_encode_init, UndoType::step_free, and UndoType::step_size.
Referenced by ED_undosys_type_init().
Definition at line 221 of file sculpt_transform.c.
References BKE_sculpt_update_object_for_edit(), C, copy_v3_v3(), copy_v4_v4(), CTX_data_depsgraph_pointer(), CTX_data_tool_settings(), SculptSession::deform_modifiers_active, depsgraph, SculptSession::pivot_pos, SculptSession::pivot_rot, SculptSession::pivot_scale, SculptSession::prev_pivot_pos, SculptSession::prev_pivot_rot, SculptSession::prev_pivot_scale, Object::sculpt, ToolSettings::sculpt, SCULPT_flush_stroke_deform(), SCULPT_flush_update_step(), sculpt_transform_all_vertices(), SCULPT_UPDATE_COORDS, SCULPT_vertex_random_access_ensure(), and SculptSession::shapekey_active.
Referenced by recalcData_sculpt().