|
Blender V4.3
|
#include <cmath>#include <cstdlib>#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_object_types.h"#include "DNA_brush_types.h"#include "DNA_scene_types.h"#include "BLI_listbase.h"#include "BLI_math_color.h"#include "BLI_math_geom.h"#include "BLI_math_matrix.h"#include "BLI_math_matrix.hh"#include "BLI_math_vector.hh"#include "BLI_rect.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_brush.hh"#include "BKE_bvhutils.hh"#include "BKE_colortools.hh"#include "BKE_context.hh"#include "BKE_customdata.hh"#include "BKE_image.hh"#include "BKE_layer.hh"#include "BKE_material.h"#include "BKE_mesh.hh"#include "BKE_mesh_sample.hh"#include "BKE_object.hh"#include "BKE_paint.hh"#include "BKE_report.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_prototypes.hh"#include "IMB_imbuf_types.hh"#include "IMB_interp.hh"#include "RE_texture.h"#include "ED_image.hh"#include "ED_screen.hh"#include "ED_select_utils.hh"#include "ED_view3d.hh"#include "BLI_sys_types.h"#include "ED_mesh.hh"#include "WM_api.hh"#include "WM_types.hh"#include "paint_intern.hh"Go to the source code of this file.
Variables | |
| static const EnumPropertyItem | prop_shape_items [] |
|
static |
Definition at line 470 of file paint_utils.cc.
References BKE_brush_curve_preset(), BKE_paint_brush(), BKE_paint_get_active_from_context(), BKE_paint_invalidate_cursor_overlay(), CTX_data_scene(), CTX_data_view_layer(), Brush::curve, OPERATOR_FINISHED, wmOperator::ptr, and RNA_enum_get().
Referenced by BRUSH_OT_curve_preset().
|
static |
Definition at line 484 of file paint_utils.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), and Brush::curve.
Referenced by BRUSH_OT_curve_preset().
| void BRUSH_OT_curve_preset | ( | wmOperatorType * | ot | ) |
Definition at line 501 of file paint_utils.cc.
References BLT_I18NCONTEXT_ID_CURVE_LEGACY, brush_curve_preset_exec(), brush_curve_preset_poll(), CURVE_PRESET_SMOOTH, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, prop_shape_items, RNA_def_enum(), RNA_def_property_translation_context(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void BRUSH_OT_sculpt_curves_falloff_preset | ( | wmOperatorType * | ot | ) |
Definition at line 533 of file paint_utils.cc.
References BLT_I18NCONTEXT_ID_CURVE_LEGACY, brush_sculpt_curves_falloff_preset_exec(), brush_sculpt_curves_falloff_preset_poll(), CURVE_PRESET_SMOOTH, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, prop_shape_items, RNA_def_enum(), RNA_def_property_translation_context(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
|
static |
Definition at line 522 of file paint_utils.cc.
References BKE_brush_tag_unsaved_changes(), BKE_curvemap_reset(), BKE_paint_brush(), BKE_paint_get_active_from_context(), BrushCurvesSculptSettings::curve_parameter_falloff, CURVEMAP_SLOPE_POSITIVE, Brush::curves_sculpt_settings, OPERATOR_FINISHED, CurveMapping::preset, wmOperator::ptr, and RNA_enum_get().
Referenced by BRUSH_OT_sculpt_curves_falloff_preset().
|
static |
Definition at line 516 of file paint_utils.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), BrushCurvesSculptSettings::curve_parameter_falloff, and Brush::curves_sculpt_settings.
Referenced by BRUSH_OT_sculpt_curves_falloff_preset().
|
static |
Definition at line 591 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintface_deselect_all_visible(), wmOperator::ptr, and RNA_enum_get().
Referenced by PAINT_OT_face_select_all().
|
static |
Definition at line 874 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, paintface_hide(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_face_select_hide().
|
static |
Definition at line 925 of file paint_utils.cc.
References BKE_paint_select_vert_test(), CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, paintface_reveal(), paintvert_reveal(), wmOperator::ptr, RNA_boolean_get(), and select().
Referenced by PAINT_OT_face_vert_reveal().
|
static |
Definition at line 941 of file paint_utils.cc.
References BKE_paint_always_hide_test(), BKE_paint_select_elem_test(), and CTX_data_active_object().
Referenced by PAINT_OT_face_vert_reveal().
|
static |
Definition at line 260 of file paint_utils.cc.
References BKE_bvhtree_from_mesh_get(), BLI_bvhtree_ray_cast(), BLI_SCOPED_DEFER, BVHTREE_FROM_CORNER_TRIS, ViewContext::depsgraph, BVHTreeRayHit::dist, ED_view3d_win_to_segment_clipped(), FLT_MAX, free_bvhtree_from_mesh(), blender::math::normalize(), ViewContext::obact, BVHTreeFromMesh::raycast_callback, ViewContext::region, blender::math::transform_point(), BVHTreeFromMesh::tree, and ViewContext::v3d.
Referenced by paint_sample_color().
|
static |
Definition at line 213 of file paint_utils.cc.
References BKE_object_material_get(), CD_PROP_FLOAT2, CD_PROP_INT32, Mesh::corner_data, Mesh::corners_num, CustomData_get_layer(), CustomData_get_layer_named(), Mesh::face_data, float, Material::paint_active_slot, PAINT_CANVAS_SOURCE_MATERIAL, blender::bke::mesh_surface_sample::sample_corner_attribute_with_bary_coords(), Material::texpaintslot, and TexPaintSlot::uvname.
Referenced by paint_sample_color().
| float paint_calc_object_space_radius | ( | const ViewContext & | vc, |
| const blender::float3 & | center, | ||
| const float | pixel_radius ) |
Definition at line 130 of file paint_utils.cc.
References ED_view3d_calc_zfac(), ED_view3d_win_to_delta(), fabsf, len_v3(), mat4_to_scale(), mul_v3_m4v3(), ViewContext::obact, ViewContext::region, and ViewContext::rv3d.
Referenced by blender::ed::sculpt_paint::filter::cache_init(), blender::ed::sculpt_paint::trim::calculate_depth(), blender::ed::sculpt_paint::paint_cursor_update_object_space_radius(), blender::ed::sculpt_paint::paint_cursor_update_unprojected_radius(), blender::ed::sculpt_paint::paint_space_stroke_spacing(), blender::ed::sculpt_paint::sculpt_calc_radius(), SCULPT_cursor_geometry_info_update(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::vwpaint::update_cache_variants(), and blender::ed::sculpt_paint::update_modal_transform().
| void paint_calc_redraw_planes | ( | float | planes[4][4], |
| const ARegion & | region, | ||
| const Object & | ob, | ||
| const rcti & | screen_rect ) |
Get four planes in object-space that describe the projection of screen_rect from screen into object-space (essentially converting a 2D screens-space bounding box into four 3D planes).
Definition at line 112 of file paint_utils.cc.
References ED_view3d_clipping_calc(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
| bool paint_convert_bb_to_rect | ( | rcti * | rect, |
| const float | bb_min[3], | ||
| const float | bb_max[3], | ||
| const ARegion & | region, | ||
| const RegionView3D & | rv3d, | ||
| const Object & | ob ) |
Convert the object-space axis-aligned bounding box (expressed as its minimum and maximum corners) into a screen-space rectangle, returns zero if the result is empty.
Definition at line 69 of file paint_utils.cc.
References BLI_rcti_do_minmax_v(), BLI_rcti_init_minmax(), ED_view3d_ob_project_mat_get(), ED_view3d_project_float_v2_m4(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by blender::ed::sculpt_paint::trim::calc_expand_factor(), and SCULPT_get_redraw_rect().
| bool paint_get_tex_pixel | ( | const MTex * | mtex, |
| float | u, | ||
| float | v, | ||
| ImagePool * | pool, | ||
| int | thread, | ||
| float * | r_intensity, | ||
| float | r_rgba[4] ) |
Returns true when a color was sampled and false when a value was sampled.
Definition at line 149 of file paint_utils.cc.
References RE_texture_evaluate(), and v.
Referenced by blender::ed::sculpt_paint::load_tex_task_cb_ex(), and sculpt_apply_texture().
| void PAINT_OT_face_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 601 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, face_select_all_exec(), facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_hide | ( | wmOperatorType * | ot | ) |
Definition at line 883 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, face_select_hide_exec(), facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 662 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paint_select_less_exec(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 556 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paint_select_linked_exec(), and wmOperatorType::poll.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_linked_pick | ( | wmOperatorType * | ot | ) |
Definition at line 577 of file paint_utils.cc.
References wmOperatorType::description, facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paint_select_linked_pick_invoke(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_loop | ( | wmOperatorType * | ot | ) |
Definition at line 690 of file paint_utils.cc.
References wmOperatorType::description, facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintface_select_loop_invoke(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 631 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, facemask_paint_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paint_select_more_exec(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_face_vert_reveal | ( | wmOperatorType * | ot | ) |
Definition at line 949 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, face_vert_reveal_exec(), face_vert_reveal_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 714 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vert_paint_poll(), vert_select_all_exec(), and WM_operator_properties_select_all().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_hide | ( | wmOperatorType * | ot | ) |
Definition at line 907 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, vert_paint_poll(), and vert_select_hide_exec().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 859 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintvert_select_less_exec(), wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and vert_paint_poll().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 768 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintvert_select_linked_exec(), wmOperatorType::poll, and vert_paint_poll().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_linked_pick | ( | wmOperatorType * | ot | ) |
Definition at line 790 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintvert_select_linked_pick_invoke(), wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and vert_paint_poll().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 826 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintvert_select_more_exec(), wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and vert_paint_poll().
Referenced by ED_operatortypes_paint().
| void PAINT_OT_vert_select_ungrouped | ( | wmOperatorType * | ot | ) |
Definition at line 744 of file paint_utils.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, vert_paint_poll(), and vert_select_ungrouped_exec().
Referenced by ED_operatortypes_paint().
| void paint_sample_color | ( | bContext * | C, |
| ARegion * | region, | ||
| int | x, | ||
| int | y, | ||
| bool | texpaint_proj, | ||
| bool | palette ) |
Used for both 3D view and image window.
Definition at line 306 of file paint_utils.cc.
References Palette::active_color, BKE_brush_color_set(), BKE_image_acquire_ibuf(), BKE_image_get_tile_from_pos(), BKE_image_release_ibuf(), BKE_imageuser_default(), BKE_object_get_evaluated_mesh(), BKE_object_material_get(), BKE_paint_brush(), BKE_paint_get_active_from_context(), BKE_paint_palette(), BKE_paint_palette_set(), BKE_palette_add(), BKE_palette_color_add(), BKE_texpaint_slot_refresh_cache(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BLI_listbase_count(), ImBuf::byte_buffer, ImagePaintSettings::canvas, CD_PROP_FLOAT2, CD_PROP_INT32, CLAMP, blender::math::clamp(), Palette::colors, copy_v3_v3(), Mesh::corner_data, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_image(), CTX_wm_view3d(), CTX_wm_window(), CustomData_get_layer_named(), CustomData_has_layer(), ImBufByteBuffer::data, ImBufFloatBuffer::data, DEG_get_evaluated_object(), depsgraph, ED_space_image_color_sample(), ED_view3d_viewcontext_init(), Mesh::face_data, ImBuf::float_buffer, ImageUser::framenr, TexPaintSlot::ima, IMA_SRC_TILED, IMAGEPAINT_MODE_MATERIAL, imapaint_pick_face(), imapaint_pick_uv(), ImagePaintSettings::interp, interp(), TexPaintSlot::interp, linearrgb_to_srgb_v3_v3(), ImagePaintSettings::mode, Material::paint_active_slot, rgb_uchar_to_float(), SHD_INTERP_CLOSEST, SHD_INTERP_LINEAR, straight_to_premul_v4(), Material::texpaintslot, ImageUser::tile, v, WM_window_pixels_read_sample(), ImBuf::x, x, and ImBuf::y.
Referenced by sample_color_exec(), sample_color_invoke(), and sample_color_modal().
|
static |
Definition at line 646 of file paint_utils.cc.
References BKE_mesh_from_object(), CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), face_step(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintface_flush_flags(), paintface_select_less(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_face_select_less().
|
static |
Definition at line 549 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, and paintface_select_linked().
Referenced by PAINT_OT_face_select_linked().
|
static |
Definition at line 568 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), wmEvent::mval, OPERATOR_FINISHED, paintface_select_linked(), wmOperator::ptr, RNA_boolean_get(), select(), and view3d_operator_needs_opengl().
Referenced by PAINT_OT_face_select_linked_pick().
|
static |
Definition at line 615 of file paint_utils.cc.
References BKE_mesh_from_object(), CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), face_step(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintface_flush_flags(), paintface_select_more(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_face_select_more().
| void paint_stroke_operator_properties | ( | wmOperatorType * | ot | ) |
Definition at line 174 of file paint_utils.cc.
References BRUSH_STROKE_ERASE, BRUSH_STROKE_INVERT, BRUSH_STROKE_NORMAL, BRUSH_STROKE_SMOOTH, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by blender::ed::sculpt_paint::GREASE_PENCIL_OT_brush_stroke(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_sculpt_paint(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_vertex_brush_stroke(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_weight_brush_stroke(), PAINT_OT_image_paint(), PAINT_OT_vertex_paint(), PAINT_OT_weight_paint(), blender::ed::sculpt_paint::SCULPT_CURVES_OT_brush_stroke(), and blender::ed::sculpt_paint::SCULPT_OT_brush_stroke().
|
static |
Definition at line 677 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), wmEvent::mval, OPERATOR_FINISHED, paintface_deselect_all_visible(), paintface_select_loop(), wmOperator::ptr, RNA_boolean_get(), SEL_DESELECT, select(), and view3d_operator_needs_opengl().
Referenced by PAINT_OT_face_select_loop().
|
static |
Definition at line 841 of file paint_utils.cc.
References BKE_mesh_from_object(), CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), face_step(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintvert_flush_flags(), paintvert_select_less(), paintvert_tag_select_update(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_vert_select_less().
|
static |
Definition at line 761 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, and paintvert_select_linked().
Referenced by PAINT_OT_vert_select_linked().
|
static |
Definition at line 780 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), wmEvent::mval, OPERATOR_FINISHED, paintvert_select_linked_pick(), wmOperator::ptr, RNA_boolean_get(), select(), and view3d_operator_needs_opengl().
Referenced by PAINT_OT_vert_select_linked_pick().
|
static |
Definition at line 808 of file paint_utils.cc.
References BKE_mesh_from_object(), CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), face_step(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintvert_flush_flags(), paintvert_select_more(), paintvert_tag_select_update(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_vert_select_more().
|
static |
Definition at line 705 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, paintvert_deselect_all_visible(), paintvert_tag_select_update(), wmOperator::ptr, and RNA_enum_get().
Referenced by PAINT_OT_vert_select_all().
|
static |
Definition at line 898 of file paint_utils.cc.
References CTX_data_active_object(), CTX_wm_region(), ED_region_tag_redraw(), OPERATOR_FINISHED, paintvert_hide(), wmOperator::ptr, and RNA_boolean_get().
Referenced by PAINT_OT_vert_select_hide().
|
static |
Definition at line 728 of file paint_utils.cc.
References BKE_report(), BLI_listbase_is_empty(), CTX_data_active_object(), CTX_wm_region(), Object::data, ED_region_tag_redraw(), OPERATOR_CANCELLED, OPERATOR_FINISHED, paintvert_select_ungrouped(), paintvert_tag_select_update(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), and RPT_ERROR.
Referenced by PAINT_OT_vert_select_ungrouped().
|
static |
Definition at line 491 of file paint_utils.cc.
Referenced by BRUSH_OT_curve_preset(), BRUSH_OT_sculpt_curves_falloff_preset(), and RENDER_OT_shutter_curve_preset().