diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-08-04 13:52:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-09-09 18:01:17 +0300 |
commit | a1397a3cc69382a64ab97bb71e4769fc0add0791 (patch) | |
tree | 3ed860ff99a6a2469e6a11bc5de9304284d502d8 /source/blender/blenkernel/BKE_pointcloud.h | |
parent | 565510bd7fd87ae146cabafb27f1dfd550450f58 (diff) |
Geometry: use generic attributes for Hair and Point Clouds
Instead of custom data layer with special types, using general Vector and Float
attributes.
Ref T76659
Differential Revision: https://developer.blender.org/D8635
Diffstat (limited to 'source/blender/blenkernel/BKE_pointcloud.h')
-rw-r--r-- | source/blender/blenkernel/BKE_pointcloud.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_pointcloud.h b/source/blender/blenkernel/BKE_pointcloud.h index b2e7e1d23ee..295744af5b4 100644 --- a/source/blender/blenkernel/BKE_pointcloud.h +++ b/source/blender/blenkernel/BKE_pointcloud.h @@ -25,6 +25,7 @@ extern "C" { #endif struct BoundBox; +struct CustomDataLayer; struct Depsgraph; struct Main; struct Object; @@ -37,6 +38,8 @@ struct PointCloud *BKE_pointcloud_copy(struct Main *bmain, const struct PointClo struct BoundBox *BKE_pointcloud_boundbox_get(struct Object *ob); void BKE_pointcloud_update_customdata_pointers(struct PointCloud *pointcloud); +bool BKE_pointcloud_customdata_required(struct PointCloud *pointcloud, + struct CustomDataLayer *layer); /* Dependency Graph */ |