Commit: a8da70f70a1f581412982d1f858b7b9a96ab8c37
Author: Hans Goudey
Date:   Wed Dec 16 12:50:45 2020 -0600
Branches: master
https://developer.blender.org/rBa8da70f70a1f581412982d1f858b7b9a96ab8c37

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.

===================================================================

M       source/blender/nodes/intern/node_geometry_exec.cc

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to