Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | ED_operatortypes_geometry (void) |
bool | ED_geometry_attribute_convert (struct Mesh *mesh, const char *layer_name, eCustomDataType old_type, eAttrDomain old_domain, eCustomDataType new_type, eAttrDomain new_domain) |
bool ED_geometry_attribute_convert | ( | struct Mesh * | mesh, |
const char * | layer_name, | ||
eCustomDataType | old_type, | ||
eAttrDomain | old_domain, | ||
eCustomDataType | new_type, | ||
eAttrDomain | new_domain | ||
) |
Definition at line 640 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), BKE_id_attribute_find(), BKE_id_attributes_active_index_p(), Mesh::id, blender::bke::AttributeAccessor::lookup_or_default(), blender::GVArrayCommon::materialize_to_uninitialized(), MEM_malloc_arrayN, mesh, blender::bke::mesh_attributes_for_write(), CustomDataLayer::name, blender::bke::MutableAttributeAccessor::remove(), blender::CPPType::size(), blender::GVArrayCommon::size(), and blender::GVArrayCommon::type().
Referenced by sculpt_undo_set_active_layer().
Definition at line 16 of file geometry_ops.cc.
References blender::ed::geometry::GEOMETRY_OT_attribute_add(), blender::ed::geometry::GEOMETRY_OT_attribute_convert(), blender::ed::geometry::GEOMETRY_OT_attribute_remove(), blender::ed::geometry::GEOMETRY_OT_color_attribute_add(), blender::ed::geometry::GEOMETRY_OT_color_attribute_duplicate(), blender::ed::geometry::GEOMETRY_OT_color_attribute_remove(), blender::ed::geometry::GEOMETRY_OT_color_attribute_render_set(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().