diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-26 22:42:03 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-26 22:42:03 +0300 |
commit | e032ca2e25bf2e305b660da7a6026834e2e5006f (patch) | |
tree | aca3fa8d4ab413c3e95518d7450a2af9dda21c6a /source/blender/blenkernel/BKE_geometry_set.hh | |
parent | a7bda035163ec07901d590389a04d1730b291f13 (diff) |
Cleanup: Replace modifyVolume with modifyGeometrySet
This allows us to remove a callback from the modifier type info struct.
In the future the these modifiers might just be replaced by nodes
internally anyway, but in the meantime it's nice to unify the handling
of evaluated geometry a bit.
Differential Revision: https://developer.blender.org/D11080
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh index 58935aca0a8..89cdef34297 100644 --- a/source/blender/blenkernel/BKE_geometry_set.hh +++ b/source/blender/blenkernel/BKE_geometry_set.hh @@ -380,6 +380,8 @@ struct GeometrySet { void replace_mesh(Mesh *mesh, GeometryOwnershipType ownership = GeometryOwnershipType::Owned); void replace_pointcloud(PointCloud *pointcloud, GeometryOwnershipType ownership = GeometryOwnershipType::Owned); + void replace_volume(Volume *volume, + GeometryOwnershipType ownership = GeometryOwnershipType::Owned); }; /** A geometry component that can store a mesh. */ |