From 2d4c7fa896ab4a6de163cd33746b54e67c7f8bac Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 6 Dec 2021 19:05:29 +0100 Subject: Geometry Nodes: reduce code duplication with new GeometyrFieldInput Most of our field inputs are currently specific to geometry. This patch introduces a new `GeometryFieldInput` that reduces the overhead of adding new geometry field input. Differential Revision: https://developer.blender.org/D13489 --- source/blender/nodes/NOD_geometry_exec.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/nodes/NOD_geometry_exec.hh') diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index f15f5abcb4e..7e8c3551f33 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -38,6 +38,7 @@ using bke::AttributeFieldInput; using bke::AttributeIDRef; using bke::geometry_set_realize_instances; using bke::GeometryComponentFieldContext; +using bke::GeometryFieldInput; using bke::OutputAttribute; using bke::OutputAttribute_Typed; using bke::ReadAttributeLookup; -- cgit v1.2.3