|
Blender V4.3
|
#include <string>#include "BLI_generic_pointer.hh"#include "BLI_string_ref.hh"#include "DNA_customdata_types.h"#include "BKE_screen.hh"Go to the source code of this file.
Classes | |
| struct | blender::ed::geometry::GeoOperatorLog |
Namespaces | |
| namespace | blender |
| namespace | blender::bke |
| namespace | blender::nodes |
| namespace | blender::nodes::geo_eval_log |
| namespace | blender::ed |
| namespace | blender::ed::geometry |
| bool ED_geometry_attribute_convert | ( | Mesh * | mesh, |
| const char * | name, | ||
| eCustomDataType | dst_type, | ||
| blender::bke::AttrDomain | dst_domain, | ||
| ReportList * | reports ) |
Convert an attribute with the given name to a new type and domain. The attribute must already exist.
Definition at line 922 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::CPPType::alignment(), BKE_report(), BLI_assert, CD_PROP_STRING, ELEM, blender::bke::AttributeAccessor::lookup_or_default(), blender::GVArrayCommon::materialize_to_uninitialized(), MEM_freeN(), MEM_mallocN_aligned(), blender::bke::MutableAttributeAccessor::remove(), RPT_ERROR, blender::CPPType::size(), blender::GVArrayCommon::size(), and blender::GVArrayCommon::type().
Referenced by blender::ed::geometry::geometry_attribute_convert_exec(), blender::ed::geometry::geometry_color_attribute_convert_exec(), and blender::ed::sculpt_paint::undo::set_active_layer().
| void ED_operatortypes_geometry | ( | ) |
Definition at line 17 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_convert(), 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(), blender::ed::geometry::GEOMETRY_OT_execute_node_group(), blender::ed::geometry::GEOMETRY_OT_geometry_randomization(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().