From a1397a3cc69382a64ab97bb71e4769fc0add0791 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 4 Aug 2020 12:52:04 +0200 Subject: 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 --- source/blender/blenkernel/BKE_hair.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_hair.h') diff --git a/source/blender/blenkernel/BKE_hair.h b/source/blender/blenkernel/BKE_hair.h index bf386e099e0..0af0a1cc90c 100644 --- a/source/blender/blenkernel/BKE_hair.h +++ b/source/blender/blenkernel/BKE_hair.h @@ -25,6 +25,7 @@ extern "C" { #endif struct BoundBox; +struct CustomDataLayer; struct Depsgraph; struct Hair; struct Main; @@ -37,6 +38,7 @@ struct Hair *BKE_hair_copy(struct Main *bmain, const struct Hair *hair); struct BoundBox *BKE_hair_boundbox_get(struct Object *ob); void BKE_hair_update_customdata_pointers(struct Hair *hair); +bool BKE_hair_customdata_required(struct Hair *hair, struct CustomDataLayer *layer); /* Depsgraph */ -- cgit v1.2.3