Blender
V3.3
|
Go to the source code of this file.
Definition at line 1124 of file sculpt_ops.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 348 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_fl[2] | ||
) |
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().
Definition at line 49 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_INCREMENTAL, SCULPT_TRANSFORM_DISPLACEMENT_ORIGINAL, SCULPT_TRANSFORM_MODE_RADIUS_ELASTIC, SCULPT_UNDO_COORDS, SCULPT_undo_push_begin(), SCULPT_vertex_random_access_ensure(), FilterCache::transform_displacement_mode, and Sculpt::transform_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 1508 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().
Definition at line 1833 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().
Definition at line 1839 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().
Definition at line 1940 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().
Definition at line 1956 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().
Export for ED_undo_sys.
Definition at line 1845 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, UndoType::step_size, and UNDOTYPE_FLAG_DECODE_ACTIVE_STEP.
Referenced by ED_undosys_type_init().
Definition at line 301 of file sculpt_transform.c.
References BKE_brush_size_get(), BKE_brush_unprojected_radius_get(), BKE_brush_use_locked_size(), BKE_paint_brush(), BKE_sculpt_update_object_for_edit(), C, copy_v3_v3(), copy_v4_v4(), CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_data_tool_settings(), SculptSession::deform_modifiers_active, depsgraph, ED_view3d_viewcontext_init(), SculptSession::init_pivot_pos, Sculpt::paint, paint_calc_object_space_radius(), SculptSession::pivot_pos, SculptSession::pivot_rot, SculptSession::pivot_scale, SculptSession::prev_pivot_pos, SculptSession::prev_pivot_rot, SculptSession::prev_pivot_scale, scene, Object::sculpt, ToolSettings::sculpt, SCULPT_flush_stroke_deform(), SCULPT_flush_update_step(), sculpt_transform_all_vertices(), SCULPT_TRANSFORM_MODE_ALL_VERTICES, SCULPT_TRANSFORM_MODE_RADIUS_ELASTIC, sculpt_transform_radius_elastic(), SCULPT_UPDATE_COORDS, SCULPT_vertex_random_access_ensure(), SculptSession::shapekey_active, and Sculpt::transform_mode.
Referenced by recalcData_sculpt().