diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-01 16:40:45 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:51 +0300 |
commit | 5910468a606377f15daf3bb25b634c90de288f2b (patch) | |
tree | e08fc5c2ae953fafc58a6e784c73837c09d7b296 /source/blender/editors/space_node/node_draw.cc | |
parent | e5b1dced0070667204d3f9d740f9d32eafff74a3 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r-- | source/blender/editors/space_node/node_draw.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc index d39304284ad..4ab81bac9aa 100644 --- a/source/blender/editors/space_node/node_draw.cc +++ b/source/blender/editors/space_node/node_draw.cc @@ -69,6 +69,7 @@ #include "NOD_geometry_nodes_eval_log.hh" #include "NOD_node_declaration.hh" +#include "FN_field.hh" #include "FN_field_cpp_type.hh" #include "node_intern.hh" /* own include */ |