109 attributes.
remove(
".sculpt_persistent_co");
110 attributes.
remove(
".sculpt_persistent_no");
111 attributes.
remove(
".sculpt_persistent_disp");
116 ".sculpt_persistent_co",
122 attributes.
add<
float3>(
".sculpt_persistent_co",
128 attributes.
add<
float3>(
".sculpt_persistent_no",
152 ot->
name =
"Set Persistent Base";
153 ot->
idname =
"SCULPT_OT_set_persistent_base";
154 ot->
description =
"Reset the copy of the mesh that is being sculpted on";
186 ot->
name =
"Rebuild BVH";
187 ot->
idname =
"SCULPT_OT_optimize";
188 ot->
description =
"Recalculate the sculpt BVH to improve performance";
239 switch (
pbvh->type()) {
256 "symmetrize input=%avef direction=%i dist=%f use_shapekey=%b",
298 ot->
name =
"Symmetrize";
299 ot->
idname =
"SCULPT_OT_symmetrize";
300 ot->
description =
"Symmetrize the topology modifications";
309 std::numeric_limits<float>::max(),
311 "Distance within which symmetrical vertices are merged",
325 Depsgraph &depsgraph,
328 const bool force_dyntopo,
335 mesh->runtime->corner_tris_cache.freeze();
339 reports,
RPT_WARNING,
"Object has non-uniform scale, sculpting may be unpredictable");
347 if (
mesh->attributes().contains(
".sculpt_face_set")) {
367 const char *message_unsupported =
nullptr;
368 if (
mesh->corners_num !=
mesh->faces_num * 3) {
369 message_unsupported =
RPT_(
"non-triangle face");
371 else if (mmd !=
nullptr) {
372 message_unsupported =
RPT_(
"multi-res modifier");
382 "Dyntopo will not preserve face sets, colors, UVs, or other attributes");
385 message_unsupported =
RPT_(
"constructive modifier");
392 if ((message_unsupported ==
nullptr) || force_dyntopo) {
395 const bool has_undo =
wm->runtime->undo_stack !=
nullptr;
408 reports,
RPT_WARNING,
"Dynamic Topology found: %s, disabled", message_unsupported);
431 mesh->runtime->corner_tris_cache.unfreeze();
469 const bool is_mode_set = (ob.
mode & mode_flag) != 0;
486 if (ob.
mode & mode_flag) {
493 if (
wm->op_undo_depth <= 1) {
512 ot->
name =
"Sculpt Mode";
513 ot->
idname =
"SCULPT_OT_sculptmode_toggle";
539#define MASK_BY_COLOR_SLOPE 0.25f
543 const float threshold,
548 len =
len / std::numbers::sqrt3_v<float>;
553 else if (
len >= threshold) {
567 const float new_mask,
569 const bool preserve_mask)
573 return std::min(current_mask, new_mask);
575 return std::max(current_mask, new_mask);
583 const float threshold,
585 const bool preserve_mask)
600 flood.
execute(
object, vert_to_face_map, [&](
int ,
int to_v) {
604 current_color.xyz(), active_color.xyz(), threshold,
invert);
605 new_mask[to_v] = new_vertex_mask;
608 len =
len / std::numbers::sqrt3_v<float>;
609 return len <= threshold;
626 const float threshold,
628 const bool preserve_mask)
644 const float current_mask = node_masks[i];
646 active_color.xyz(), current_color.xyz(), threshold,
invert);
684 if (std::holds_alternative<std::monostate>(ss.
active_vert())) {
695 const int active_vert = std::get<int>(ss.
active_vert());
726 ot->
name =
"Mask by Color";
727 ot->
idname =
"SCULPT_OT_mask_by_color";
728 ot->
description =
"Creates a mask based on the active color attribute";
737 ot->
srna,
"contiguous",
false,
"Contiguous",
"Mask only contiguous color areas");
742 "preserve_previous_mask",
744 "Preserve Previous Mask",
745 "Preserve the previous mask and add or subtract the new one generated by the colors");
753 "How much changes in color affect the mask generation",
764 "Region coordinates of sampling",
790 {0,
nullptr, 0,
nullptr,
nullptr},
800 "Use settings from operator properties"},
803 {0,
nullptr, 0,
nullptr,
nullptr}};
820 new_mask[i] = node_mask[i] * new_mask[i];
825 new_mask[i] = new_mask[i] > 0.00001f ? node_mask[i] / new_mask[i] : 0.0f;
830 new_mask[i] = node_mask[i] + new_mask[i];
835 new_mask[i] = node_mask[i] - new_mask[i];
955 switch (
pbvh.type()) {
967 depsgraph,
object, hide_vert, automasking, mode, factor,
nodes[i], tls,
mask.span);
975 SubdivCCG &subdiv_ccg = *
object.runtime->sculpt_session->subdiv_ccg;
990 &
object.runtime->sculpt_session->bm->vdata,
CD_PROP_FLOAT,
".sculpt_mask");
1063 paint.mesh_automasking_settings->cavity_curve_op;
1069 brush->mesh_automasking_settings->cavity_factor;
1071 brush->mesh_automasking_settings->cavity_curve;
1073 brush->mesh_automasking_settings->cavity_blur_steps;
1118 *depsgraph, scene_copy, &brush_copy, ob);
1127 automasking->calc_cavity_factor(*depsgraph, ob, node_mask);
1132 pbvh.tag_masks_changed(node_mask);
1164 template_curve_mapping(&layout,
1166 "automasking_cavity_curve_op",
1187 ot->
name =
"Mask From Cavity";
1188 ot->
idname =
"SCULPT_OT_mask_from_cavity";
1189 ot->
description =
"Creates a mask based on the curvature of the surface";
1198 RNA_def_float(ot->
srna,
"mix_factor", 1.0f, 0.0f, 5.0f,
"Mix Factor",
"", 0.0f, 1.0f);
1204 "Use settings from here");
1211 "The contrast of the cavity mask",
1220 "The number of times the cavity mask is blurred",
1271 switch (boundary_mode) {
1280 op->
ptr,
"propagation_steps");
1287 brush->mesh_automasking_settings->boundary_edges_propagation_steps;
1320 *depsgraph, scene_copy, &brush_copy, ob);
1333 pbvh.tag_masks_changed(node_mask);
1372 ot->
name =
"Mask From Boundary";
1373 ot->
idname =
"SCULPT_OT_mask_from_boundary";
1374 ot->
description =
"Creates a mask based on the boundaries of the surface";
1383 RNA_def_float(ot->
srna,
"mix_factor", 1.0f, 0.0f, 5.0f,
"Mix Factor",
"", 0.0f, 1.0f);
1389 "Use settings from here");
1396 "Calculate the boundary mask based on disconnected mesh topology islands"},
1401 "Calculate the boundary mask between face sets"},
1402 {0,
nullptr, 0,
nullptr,
nullptr}};
1406 mask_boundary_modes,
1409 "Boundary type to mask");
1410 RNA_def_int(ot->
srna,
"propagation_steps", 1, 1, 20,
"Propagation Steps",
"", 1, 20);
General operations, lookup, etc. for materials.
General operations, lookup, etc. for blender objects.
A BVH for high poly meshes.
These structs are the foundation for all linked lists in the library system.
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
#define BLI_assert_unreachable()
#define BMO_FLAG_DEFAULTS
constexpr void fill(const T &value) const
constexpr Span< T > as_span() const
constexpr int64_t size() const
constexpr IndexRange index_range() const
static VArray from_span(Span< T > values)
GAttributeReader lookup_or_default(StringRef name, AttrDomain domain, AttrType data_type, const void *default_value=nullptr) const
GAttributeReader lookup(const StringRef name) const
bool add(const StringRef name, const AttrDomain domain, const AttrType data_type, const AttributeInit &initializer)
GSpanAttributeWriter lookup_or_add_for_write_span(StringRef name, AttrDomain domain, AttrType data_type, const AttributeInit &initializer=AttributeInitDefaultValue())
bool remove(const StringRef name)
void foreach_index(Fn &&fn, Mode mode=exec_mode::serial) const
float2x2 invert(float2x2 mat)
ccl_device_inline dual1 len(const ccl_private dual< T > &a)
#define MASK_BY_COLOR_SLOPE
pbvh::Tree * pbvh_get(Object &object)
IndexMask all_leaf_nodes(const Tree &pbvh, IndexMaskMemory &memory)
void node_update_mask_bmesh(int mask_offset, BMeshNode &node)
void node_update_mask_mesh(Span< float > mask, MeshNode &node)
void node_update_mask_grids(const CCGKey &key, Span< float > masks, GridsNode &node)
Span< float3 > vert_normals_eval(const Depsgraph &depsgraph, const Object &object_orig)
internal::ShallowDataConstRef< T > shallow_copy(const T &other)
bool mode_compat_set(bContext *C, Object *ob, eObjectMode mode, ReportList *reports)
std::unique_ptr< Cache > cache_init(const Depsgraph &depsgraph, const Paint &paint, const Brush *brush, Object &ob)
void calc_vert_factors(const Depsgraph &depsgraph, const Object &object, const Cache &automasking, const bke::pbvh::MeshNode &node, Span< int > verts, MutableSpan< float > factors)
void calc_grids_factors(const Depsgraph &depsgraph, const Object &object, const Cache &automasking, const bke::pbvh::GridsNode &node, Span< int > grids, MutableSpan< float > factors)
void SCULPT_OT_cloth_filter(wmOperatorType *ot)
void SCULPT_OT_color_filter(wmOperatorType *ot)
void enable_ex(Main &bmain, Depsgraph &depsgraph, Object &ob)
void SCULPT_OT_detail_flood_fill(wmOperatorType *ot)
void disable_with_undo(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob)
void SCULPT_OT_sample_detail_size(wmOperatorType *ot)
void triangulate(BMesh *bm)
WarnFlag check_attribute_warning(Scene &scene, Object &ob)
void SCULPT_OT_dynamic_topology_toggle(wmOperatorType *ot)
void SCULPT_OT_dyntopo_detail_size_edit(wmOperatorType *ot)
void SCULPT_OT_expand(wmOperatorType *ot)
void SCULPT_OT_face_set_lasso_gesture(wmOperatorType *ot)
void initialize_none_to_id(Mesh *mesh, int new_id)
void SCULPT_OT_face_set_line_gesture(wmOperatorType *ot)
void SCULPT_OT_face_set_polyline_gesture(wmOperatorType *ot)
void SCULPT_OT_face_sets_init(wmOperatorType *ot)
void SCULPT_OT_face_sets_create(wmOperatorType *ot)
void SCULPT_OT_face_set_change_visibility(wmOperatorType *ot)
void SCULPT_OT_face_sets_randomize_colors(wmOperatorType *ot)
void SCULPT_OT_face_sets_edit(wmOperatorType *ot)
void SCULPT_OT_face_set_box_gesture(wmOperatorType *ot)
int find_next_available_id(const Mesh &mesh)
void SCULPT_OT_mesh_filter(wmOperatorType *ot)
wmKeyMap * modal_keymap(wmKeyConfig *keyconf)
static float color_delta_get(const float3 &color_a, const float3 &color_b, const float threshold, const bool invert)
static wmOperatorStatus mask_from_boundary_exec(bContext *C, wmOperator *op)
void SCULPT_OT_mask_filter(wmOperatorType *ot)
void scatter_mask_grids(const Span< float > mask, SubdivCCG &subdiv_ccg, const Span< int > grids)
static wmOperatorStatus mask_by_color_exec(bContext *C, wmOperator *op)
static wmOperatorStatus mask_by_color(bContext *C, wmOperator *op, const float2 region_location)
static EnumPropertyItem mix_modes[]
static void mask_from_cavity_ui(bContext *C, wmOperator *op)
void update_mask_mesh(const Depsgraph &depsgraph, Object &object, const IndexMask &node_mask, FunctionRef< void(MutableSpan< float >, Span< int >)> update_fn)
static void apply_mask_from_settings(const Depsgraph &depsgraph, Object &object, bke::pbvh::Tree &pbvh, const IndexMask &node_mask, const auto_mask::Cache &automasking, const ApplyMaskMode mode, const float factor)
void SCULPT_OT_mask_init(wmOperatorType *ot)
static void SCULPT_OT_mask_by_color(wmOperatorType *ot)
void scatter_mask_bmesh(const Span< float > mask, const BMesh &bm, const Set< BMVert *, 0 > &verts)
void gather_mask_bmesh(const BMesh &bm, const Set< BMVert *, 0 > &verts, const MutableSpan< float > r_mask)
void mix_new_masks(const Span< float > new_masks, const float factor, const MutableSpan< float > masks)
static void mask_by_color_full_mesh(const Depsgraph &depsgraph, Object &object, const int vert, const float threshold, const bool invert, const bool preserve_mask)
static void calc_new_masks(const ApplyMaskMode mode, const Span< float > node_mask, const MutableSpan< float > new_mask)
static wmOperatorStatus mask_by_color_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus mask_from_cavity_exec(bContext *C, wmOperator *op)
static void mask_from_boundary_ui(bContext *C, wmOperator *op)
static void mask_by_color_contiguous_mesh(const Depsgraph &depsgraph, Object &object, const int vert, const float threshold, const bool invert, const bool preserve_mask)
void invert_mask(const MutableSpan< float > masks)
void gather_mask_grids(const SubdivCCG &subdiv_ccg, const Span< int > grids, const MutableSpan< float > r_mask)
static void apply_mask_mesh(const Depsgraph &depsgraph, const Object &object, const Span< bool > hide_vert, const auto_mask::Cache &automasking, const ApplyMaskMode mode, const float factor, const bke::pbvh::MeshNode &node, LocalData &tls, const MutableSpan< float > mask)
static void apply_mask_bmesh(const Depsgraph &depsgraph, Object &object, const auto_mask::Cache &automasking, const ApplyMaskMode mode, const float factor, bke::pbvh::BMeshNode &node, LocalData &tls)
static void SCULPT_OT_mask_from_cavity(wmOperatorType *ot)
static EnumPropertyItem settings_sources[]
static void apply_mask_grids(const Depsgraph &depsgraph, Object &object, const auto_mask::Cache &automasking, const ApplyMaskMode mode, const float factor, const bke::pbvh::GridsNode &node, LocalData &tls)
static void SCULPT_OT_mask_from_boundary(wmOperatorType *ot)
static float final_mask_get(const float current_mask, const float new_mask, const bool invert, const bool preserve_mask)
void clamp_mask(const MutableSpan< float > masks)
void SCULPT_OT_project_line_gesture(wmOperatorType *ot)
void SCULPT_OT_trim_lasso_gesture(wmOperatorType *ot)
void SCULPT_OT_trim_box_gesture(wmOperatorType *ot)
void SCULPT_OT_trim_line_gesture(wmOperatorType *ot)
void SCULPT_OT_trim_polyline_gesture(wmOperatorType *ot)
void push_end(Object &ob)
void push_nodes(const Depsgraph &depsgraph, Object &object, const IndexMask &node_mask, const Type type)
void push_begin_ex(const Scene &, Object &ob, const char *name)
void push_enter_sculpt_mode(const Scene &, Object &ob, const wmOperator *op)
void geometry_begin(const Scene &scene, Object &ob, const wmOperator *op)
void geometry_end(Object &ob)
void push_node(const Depsgraph &depsgraph, const Object &object, const bke::pbvh::Node *node, const Type type)
void push_begin(const Scene &scene, Object &ob, const wmOperator *op)
void object_sculpt_mode_enter(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob, bool force_dyntopo, ReportList *reports)
void SCULPT_OT_paint_mask_slice(wmOperatorType *ot)
void mode_exit_generic(Scene &scene, Object &ob, const eObjectMode mode_flag)
static bool no_multires_poll(bContext *C)
void mode_enter_generic(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob, const eObjectMode mode_flag)
static wmOperatorStatus set_persistent_base_exec(bContext *C, wmOperator *)
void vert_random_access_ensure(Object &object)
static void SCULPT_OT_symmetrize(wmOperatorType *ot)
static wmOperatorStatus optimize_exec(bContext *C, wmOperator *)
void keymap_sculpt(wmKeyConfig *keyconf)
static void SCULPT_OT_sculptmode_toggle(wmOperatorType *ot)
bool sculpt_mode_poll(bContext *C)
bool color_supported_check(const Scene &scene, Object &object, ReportList *reports)
static wmOperatorStatus sculpt_mode_toggle_exec(bContext *C, wmOperator *op)
void operatortypes_sculpt()
void scale_factors(MutableSpan< float > factors, float strength)
void object_sculpt_mode_exit(Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob)
static void SCULPT_OT_set_persistent_base(wmOperatorType *ot)
static void SCULPT_OT_optimize(wmOperatorType *ot)
void scatter_data_mesh(Span< T > src, Span< int > indices, MutableSpan< T > dst)
void SCULPT_OT_brush_stroke(wmOperatorType *ot)
void gather_data_mesh(Span< T > src, Span< int > indices, MutableSpan< T > dst)
void flush_update_done(bContext *C, Object &ob, const UpdateType update_type)
std::optional< CursorGeometryInfo > cursor_geometry_info_update(bContext *C, const float2 &mval, const bool use_sampled_normal)
static wmOperatorStatus symmetrize_exec(bContext *C, wmOperator *op)
void fill_factor_from_hide(Span< bool > hide_vert, Span< int > verts, MutableSpan< float > r_factors)
void SCULPT_OT_paint_mask_extract(wmOperatorType *ot)
void mask_overlay_check(bContext &C, wmOperator &op)
void SCULPT_OT_face_set_extract(wmOperatorType *ot)
void SCULPT_OT_set_pivot_position(wmOperatorType *ot)
void tag_update_overlays(bContext *C)
constexpr ParallelGrainSize grain_size(int grain_size)
T distance(const T &a, const T &b)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
int RNA_enum_get(PointerRNA *ptr, const char *name)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
MultiresModifierData * BKE_sculpt_multires_active(const Scene *scene, Object *ob)
bool BKE_base_is_visible(const View3D *v3d, const Base *base)
Depsgraph * CTX_data_depsgraph_pointer(const bContext *C)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
int RNA_int_get(PointerRNA *ptr, const char *name)
bool is_negative_m4(const float mat[4][4])
void BM_mesh_elem_hflag_disable_all(BMesh *bm, const char htype, const char hflag, const bool respecthide)
void BM_log_all_added(BMesh *bm, BMLog *log)
Base * CTX_data_active_base(const bContext *C)
void BKE_sculptsession_free_pbvh(Object &object)
ViewLayer * CTX_data_view_layer(const bContext *C)
void BKE_sculpt_mask_layers_ensure(Depsgraph *depsgraph, Main *bmain, Object *ob, MultiresModifierData *mmd)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
CCGKey BKE_subdiv_ccg_key_top_level(const SubdivCCG &subdiv_ccg)
@ SCULPT_BRUSH_TYPE_SMOOTH
void multires_flush_sculpt_updates(Object *object)
VecBase< float, 4 > float4
void RNA_int_set_array(PointerRNA *ptr, const char *name, const int *values)
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
void BM_log_before_all_removed(BMesh *bm, BMLog *log)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
BMesh const char void * data
void RNA_int_get_array(PointerRNA *ptr, const char *name, int *values)
Mesh * BKE_mesh_from_object(Object *ob)
void BKE_mesh_batch_cache_dirty_tag(Mesh *mesh, eMeshBatchDirtyMode mode)
wmWindowManager * CTX_wm_manager(const bContext *C)
Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C, bool rna_write_check=false)
int CustomData_get_offset_named(const CustomData *data, eCustomDataType type, StringRef name)
void WM_toolsystem_update_from_context_view3d(bContext *C)
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
bool BMO_op_callf(BMesh *bm, int flag, const char *fmt,...)
ToolSettings * CTX_data_tool_settings(const bContext *C)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
@ V3D_SHADING_VERTEX_COLOR
@ ME_SCULPT_DYNAMIC_TOPOLOGY
void BM_mesh_toolflags_set(BMesh *bm, bool use_toolflags)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void BKE_sculpt_color_layer_create_if_needed(Object *object)
wmMsgBus * CTX_wm_message_bus(const bContext *C)
@ BRUSH_AUTOMASKING_CAVITY_USE_CURVE
@ BRUSH_AUTOMASKING_BOUNDARY_FACE_SETS
@ BRUSH_AUTOMASKING_BOUNDARY_EDGES
@ BRUSH_AUTOMASKING_CAVITY_ALL
@ BRUSH_AUTOMASKING_CAVITY_NORMAL
@ BRUSH_AUTOMASKING_CAVITY_INVERTED
const Brush * BKE_paint_brush_for_read(const Paint *paint)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void BKE_mesh_mirror_apply_mirror_on_axis(Main *bmain, Mesh *mesh, int axis, float dist)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
Depsgraph * CTX_data_depsgraph_on_load(const bContext *C)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
Main * CTX_data_main(const bContext *C)
PropertyRNA * RNA_def_int_array(StructOrFunctionRNA *cont_, const char *identifier, const int len, const int *default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void BKE_sculptsession_update_for_edit(Depsgraph *depsgraph, Object *ob_orig, bool is_paint_tool)
Scene * CTX_data_scene(const bContext *C)
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
@ OPTYPE_DEPENDS_ON_CURSOR
VecBase< float, 3 > float3
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
bool ED_operator_object_active_editable_mesh_from_view_layer(bContext *C)
@ BKE_MESH_BATCH_DIRTY_ALL
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
Object * CTX_data_active_object(const bContext *C)
const Set< BMVert *, 0 > & BKE_pbvh_bmesh_node_unique_verts(bke::pbvh::BMeshNode *node)
float RNA_float_get(PointerRNA *ptr, const char *name)
View3D * CTX_wm_view3d(const bContext *C)
eBrushSculptType sculpt_brush_type
struct MeshAutomaskingSettings * mesh_automasking_settings
ListBaseT< wmWindowManager > wm
int boundary_edges_propagation_steps
struct CurveMapping * cavity_curve
bke::ObjectRuntime * runtime
struct MeshAutomaskingSettings * mesh_automasking_settings
struct ToolSettings * toolsettings
ActiveVert active_vert() const
struct blender::SculptSession::@037313230252170341305206315164127110104334247060 persistent
Array< float3 > positions
eV3DShadingColorType color_type
const ImplicitSharingInfo * sharing_info
SculptSession * sculpt_session
void execute(Object &object, GroupedSpan< int > vert_to_face_map, FunctionRef< bool(int from_v, int to_v)> func)
void add_initial(int vertex)
void use_property_decorate_set(bool is_decorate)
void use_property_split_set(bool is_sep)
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< StringRef > name_opt, int icon, std::optional< StringRef > placeholder=std::nullopt)
wmOperatorStatus(*) exec(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
void(*) ui(bContext *C, wmOperator *op)
bool(*) poll(bContext *C) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) invoke(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
void resize(int new_size)
#define WM_msg_publish_rna_prop(mbus, id_, data_, type_, prop_)