From 107231eb956a953c89a2ab134371988ebe338c59 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 3 Dec 2020 16:25:48 +0100 Subject: Geometry Nodes: improve support for Color attributes * Add typed attribute accessors for color attributes. * Support implicit conversions between colors and floats. --- source/blender/nodes/NOD_geometry_exec.hh | 2 ++ 1 file changed, 2 insertions(+) (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 2b95f76d06b..fde576d7429 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -26,6 +26,8 @@ namespace blender::nodes { +using bke::Color4fReadAttribute; +using bke::Color4fWriteAttribute; using bke::Float3ReadAttribute; using bke::Float3WriteAttribute; using bke::FloatReadAttribute; -- cgit v1.2.3