| 17 | } |
| 18 | |
| 19 | void PyMesh::MeshAttributes::add_empty_attribute(const std::string& name) { |
| 20 | MeshAttribute::Ptr attr = MeshAttributeFactory::create(name); |
| 21 | m_attributes.insert(AttributeMapEntry(name, attr)); |
| 22 | } |
| 23 | |
| 24 | void PyMesh::MeshAttributes::add_attribute(const std::string& name, Mesh& mesh) { |
| 25 | MeshAttribute::Ptr attr = MeshAttributeFactory::create(name); |