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.
This commit is contained in:
Hans Goudey 2020-12-16 12:50:45 -06:00
parent c484b54453
commit a8da70f70a
1 changed files with 3 additions and 0 deletions

View File

@ -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;