diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-16 21:50:45 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-16 21:50:45 +0300 |
commit | a8da70f70a1f581412982d1f858b7b9a96ab8c37 (patch) | |
tree | b5be5b063e432a189395b911e4d2678396ebcdae | |
parent | c484b54453e6072399dd79daccf237bb4bd73b41 (diff) |
Geometry Nodes: Add boolean attribute in utility function
This follows up rBc484b54453e607, adding the boolean custom property
data type in one more place that was missed.
-rw-r--r-- | source/blender/nodes/intern/node_geometry_exec.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/nodes/intern/node_geometry_exec.cc b/source/blender/nodes/intern/node_geometry_exec.cc index 6a22adb25a7..eef2c6c9125 100644 --- a/source/blender/nodes/intern/node_geometry_exec.cc +++ b/source/blender/nodes/intern/node_geometry_exec.cc @@ -96,6 +96,9 @@ CustomDataType GeoNodeExecParams::get_input_attribute_data_type( if (found_socket->type == SOCK_RGBA) { return CD_PROP_COLOR; } + if (found_socket->type == SOCK_BOOLEAN) { + return CD_PROP_BOOL; + } BLI_assert(false); return default_type; |