Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_scene_types.h"
#include "BKE_attribute.h"
#include "BKE_context.h"
#include "BKE_deform.h"
#include "BKE_geometry_set.hh"
#include "BKE_lib_id.h"
#include "BKE_mesh.h"
#include "BKE_object_deform.h"
#include "BKE_paint.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "ED_geometry.h"
#include "ED_object.h"
#include "geometry_intern.hh"
Go to the source code of this file.
Namespaces | |
blender | |
blender::ed | |
blender::ed::geometry | |
Enumerations | |
enum class | blender::ed::geometry::ConvertAttributeMode { blender::ed::geometry::Generic , blender::ed::geometry::UVMap , blender::ed::geometry::VertexGroup } |
bool ED_geometry_attribute_convert | ( | 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().