Blender
V3.3
|
Enumerations | |
enum class | ConvertAttributeMode { Generic , UVMap , VertexGroup } |
|
strong |
Enumerator | |
---|---|
Generic | |
UVMap | |
VertexGroup |
Definition at line 247 of file geometry_attributes.cc.
|
static |
Definition at line 86 of file geometry_attributes.cc.
References BKE_id_attribute_new(), BKE_id_attributes_active_set(), C, Object::data, DEG_id_tag_update(), ED_object_context(), ID_RECALC_GEOMETRY, MAX_NAME, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_string_get(), type, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_add().
|
static |
Definition at line 274 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), ATTR_DOMAIN_CORNER, ATTR_DOMAIN_POINT, BKE_defvert_add_index_notest(), BKE_id_attributes_active_get(), BKE_id_attributes_active_index_p(), BKE_id_defgroup_list_get(), BKE_object_defgroup_data_create(), BKE_object_defgroup_new(), BKE_report(), BLI_findindex(), C, CD_ASSIGN, CD_MLOOPUV, CD_PROP_STRING, copy_v2_v2(), CustomData_add_layer_named(), Object::data, DEG_id_tag_update(), ED_object_context(), ELEM, Generic, Mesh::id, ID_RECALC_GEOMETRY, Mesh::ldata, blender::bke::AttributeAccessor::lookup_or_default(), blender::VArrayCommon< T >::materialize(), blender::GVArrayCommon::materialize_to_uninitialized(), MEM_calloc_arrayN, MEM_malloc_arrayN, mesh, blender::bke::mesh_attributes_for_write(), CustomDataLayer::name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, blender::bke::MutableAttributeAccessor::remove(), wmOperator::reports, RNA_enum_get(), RPT_ERROR, blender::CPPType::size(), blender::GVArrayCommon::size(), Mesh::totloop, Mesh::totvert, blender::GVArrayCommon::type(), UVMap, VertexGroup, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 591 of file geometry_attributes.cc.
References C, and WM_operator_props_dialog_popup().
Referenced by GEOMETRY_OT_attribute_convert().
Definition at line 253 of file geometry_attributes.cc.
References BKE_id_attributes_active_get(), C, CTX_data_edit_object(), CTX_wm_operator_poll_msg_set(), data, Object::data, ED_object_context(), geometry_attributes_poll(), GS, and ID_ME.
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 574 of file geometry_attributes.cc.
References Generic, wmOperator::layout, wmOperator::ptr, RNA_enum_get(), uiItemR(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 69 of file geometry_attributes.cc.
References C, Object::data, DummyRNA_NULL_items, ED_object_context(), and rna_enum_attribute_domain_itemf().
Referenced by GEOMETRY_OT_attribute_add(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 177 of file geometry_attributes.cc.
References BKE_id_attribute_remove(), BKE_id_attributes_active_get(), BKE_id_attributes_active_index_p(), C, Object::data, DEG_id_tag_update(), ED_object_context(), ID_RECALC_GEOMETRY, CustomDataLayer::name, NC_GEOM, ND_DATA, next_color_attributes(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_remove().
Definition at line 45 of file geometry_attributes.cc.
References BKE_id_attributes_supported(), BKE_id_is_editable(), C, CTX_data_main(), data, Object::data, ED_object_context(), and Object::id.
Referenced by geometry_attribute_convert_poll(), geometry_attributes_remove_poll(), geometry_color_attributes_duplicate_poll(), geometry_color_attributes_remove_poll(), GEOMETRY_OT_attribute_add(), GEOMETRY_OT_color_attribute_add(), and GEOMETRY_OT_color_attribute_render_set().
Definition at line 54 of file geometry_attributes.cc.
References BKE_id_attributes_active_get(), C, data, Object::data, ED_object_context(), and geometry_attributes_poll().
Referenced by GEOMETRY_OT_attribute_remove().
|
static |
Definition at line 215 of file geometry_attributes.cc.
References BKE_id_attribute_new(), BKE_id_attributes_active_color_set(), BKE_id_attributes_render_color_get(), BKE_id_attributes_render_color_set(), BKE_object_attributes_active_color_fill(), C, color, Object::data, DEG_id_tag_update(), ED_object_context(), ID_RECALC_GEOMETRY, MAX_NAME, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_float_get_array(), RNA_string_get(), type, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 355 of file geometry_attributes.cc.
References wmOperator::layout, wmOperator::ptr, UI_ITEM_R_EXPAND, uiItemR(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 516 of file geometry_attributes.cc.
References BKE_id_attribute_duplicate(), BKE_id_attributes_active_color_get(), BKE_id_attributes_active_color_set(), C, Object::data, DEG_id_tag_update(), ED_object_context(), ID_RECALC_GEOMETRY, CustomDataLayer::name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_duplicate().
|
static |
Definition at line 458 of file geometry_attributes.cc.
References BKE_id_attribute_remove(), BKE_id_attributes_active_color_get(), BKE_mesh_update_customdata_pointers(), C, Object::data, DEG_id_tag_update(), ED_object_context(), GS, id, ID_ME, ID_RECALC_GEOMETRY, CustomDataLayer::name, ID::name, NC_GEOM, ND_DATA, next_color_attributes(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_remove().
|
static |
Definition at line 412 of file geometry_attributes.cc.
References ATTR_DOMAIN_CORNER, ATTR_DOMAIN_POINT, BKE_id_attribute_find(), BKE_id_attributes_render_color_set(), C, CD_PROP_BYTE_COLOR, CD_PROP_COLOR, Object::data, DEG_id_tag_update(), ED_object_context(), ID_RECALC_GEOMETRY, MAX_NAME, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_render_set().
Definition at line 539 of file geometry_attributes.cc.
References BKE_id_attributes_active_color_get(), C, CTX_data_edit_object(), CTX_wm_operator_poll_msg_set(), data, Object::data, ED_object_context(), and geometry_attributes_poll().
Referenced by GEOMETRY_OT_color_attribute_duplicate().
Definition at line 485 of file geometry_attributes.cc.
References BKE_id_attributes_active_color_get(), C, data, Object::data, ED_object_context(), and geometry_attributes_poll().
Referenced by GEOMETRY_OT_color_attribute_remove().
void blender::ed::geometry::GEOMETRY_OT_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 138 of file geometry_attributes.cc.
References ATTR_DOMAIN_POINT, CD_PROP_FLOAT, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_attribute_add_exec(), geometry_attribute_domain_itemf(), geometry_attributes_poll(), wmOperatorType::idname, wmOperatorType::invoke, MAX_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), RNA_def_string(), rna_enum_attribute_domain_items, rna_enum_attribute_type_items, wmOperatorType::srna, and WM_operator_props_popup_confirm().
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_attribute_convert | ( | wmOperatorType * | ot | ) |
Definition at line 598 of file geometry_attributes.cc.
References ATTR_DOMAIN_POINT, CD_PROP_FLOAT, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, Generic, geometry_attribute_convert_exec(), geometry_attribute_convert_invoke(), geometry_attribute_convert_poll(), geometry_attribute_convert_ui(), geometry_attribute_domain_itemf(), wmOperatorType::idname, wmOperatorType::invoke, mode_items, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_attribute_domain_items, rna_enum_attribute_type_items, wmOperatorType::srna, wmOperatorType::ui, UVMap, and VertexGroup.
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 200 of file geometry_attributes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_attribute_remove_exec(), geometry_attributes_remove_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_color_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 367 of file geometry_attributes.cc.
References ATTR_DOMAIN_POINT, CD_PROP_COLOR, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_attributes_poll(), geometry_color_attribute_add_exec(), geometry_color_attribute_add_ui(), wmOperatorType::idname, wmOperatorType::invoke, MAX_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_COLOR, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_float_color(), RNA_def_property_flag(), RNA_def_property_float_array_default(), RNA_def_property_subtype(), RNA_def_string(), rna_enum_color_attribute_domain_items, rna_enum_color_attribute_type_items, wmOperatorType::srna, wmOperatorType::ui, and WM_operator_props_popup_confirm().
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_color_attribute_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 559 of file geometry_attributes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_color_attribute_duplicate_exec(), geometry_color_attributes_duplicate_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_color_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 501 of file geometry_attributes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_color_attribute_remove_exec(), geometry_color_attributes_remove_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_geometry().
void blender::ed::geometry::GEOMETRY_OT_color_attribute_render_set | ( | wmOperatorType * | ot | ) |
Definition at line 437 of file geometry_attributes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, geometry_attributes_poll(), geometry_color_attribute_set_render_exec(), wmOperatorType::idname, MAX_NAME, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_geometry().
|
static |
Definition at line 109 of file geometry_attributes.cc.
References ATTR_DOMAIN_MASK_COLOR, BKE_id_attribute_from_index(), BKE_id_attribute_to_index(), BKE_id_attributes_active_color_set(), BKE_id_attributes_render_color_set(), and CD_MASK_COLOR_ALL.
Referenced by next_color_attributes().
|
static |
Definition at line 132 of file geometry_attributes.cc.
References next_color_attribute().
Referenced by geometry_attribute_remove_exec(), and geometry_color_attribute_remove_exec().