From 5c80543c4366ee52bcc9d436c8fd7a740f7bbd9e Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 1 Apr 2022 08:40:45 -0500 Subject: Cleanup: Move geometry set fields to a separate header This commit moves declarations that depend on `FN_field.hh` out of `BKE_geometry_set.hh` into `BKE_geometry_fields.hh`. This helps to reduce the number of areas that need to depend on the functions module, which recently came in in review of D11591. In the future we may have a library of standard field inputs in order to make composing algorithms easier, so it makes sense to have a header that could contain them and some basic related utilities relating the concepts of geometry and fields. Reducing use of unnecessary headers may also reduce compilation time. Differential Revision: https://developer.blender.org/D14517 --- .../editors/space_spreadsheet/spreadsheet_data_source_geometry.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_spreadsheet') diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc index 0ad64db1b6d..4afa70d9ef6 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc @@ -4,6 +4,7 @@ #include "BKE_context.h" #include "BKE_editmesh.h" +#include "BKE_geometry_fields.hh" #include "BKE_global.h" #include "BKE_lib_id.h" #include "BKE_mesh.h" -- cgit v1.2.3