Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_geometry_set.hh
| Show First 20 Lines • Show All 348 Lines • ▼ Show 20 Lines | |||||
| public: | public: | ||||
| MeshComponent(); | MeshComponent(); | ||||
| ~MeshComponent(); | ~MeshComponent(); | ||||
| GeometryComponent *copy() const override; | GeometryComponent *copy() const override; | ||||
| void clear(); | void clear(); | ||||
| bool has_mesh() const; | bool has_mesh() const; | ||||
| void replace(Mesh *mesh, GeometryOwnershipType ownership = GeometryOwnershipType::Owned); | void replace(Mesh *mesh, GeometryOwnershipType ownership = GeometryOwnershipType::Owned); | ||||
| void replace_mesh(Mesh *mesh, GeometryOwnershipType ownership = GeometryOwnershipType::Owned); | |||||
JacquesLucke: Maybe we should be more specific with the naming? `replace_mesh_but_keep_vertex_group_names`? | |||||
Done Inline ActionsGood idea. Best to be honest that this function exists for a very specific reason. HooglyBoogly: Good idea. Best to be honest that this function exists for a very specific reason. | |||||
| Mesh *release(); | Mesh *release(); | ||||
| void copy_vertex_group_names_from_object(const struct Object &object); | void copy_vertex_group_names_from_object(const struct Object &object); | ||||
| const Mesh *get_for_read() const; | const Mesh *get_for_read() const; | ||||
| Mesh *get_for_write(); | Mesh *get_for_write(); | ||||
| bool attribute_domain_supported(const AttributeDomain domain) const final; | bool attribute_domain_supported(const AttributeDomain domain) const final; | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||
Maybe we should be more specific with the naming? replace_mesh_but_keep_vertex_group_names?