Commit: 74ff3537bca5b2fd21b53d16b86767238ba14778
Author: Jacques Lucke
Date:   Thu Mar 25 10:21:36 2021 +0100
Branches: temp-compact-node-prototype
https://developer.blender.org/rB74ff3537bca5b2fd21b53d16b86767238ba14778

better enum

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

M       source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc 
b/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
index f4e8bfb5472..2d45577f017 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
@@ -148,7 +148,7 @@ static void draw_socket_menu(bContext *UNUSED(C), uiLayout 
*layout, void *arg)
     RNA_boolean_set(&expose_props, "expose", false);
   }
 
-  uiItemR(layout, &node_ptr, "data_type", 0, "Data Type", ICON_NONE);
+  uiItemsEnumR(layout, &node_ptr, "data_type");
 }
 
 static void geo_node_attribute_fill_layout(uiLayout *layout, bContext *C, 
PointerRNA *node_ptr)
@@ -167,7 +167,6 @@ static void geo_node_attribute_fill_layout(uiLayout 
*layout, bContext *C, Pointe
   RNA_pointer_create(node_ptr->owner_id, &RNA_NodeSocket, value_socket, 
&socket_ptr);
 
   uiItemR(layout, node_ptr, "domain", 0, "", ICON_NONE);
-  uiItemR(layout, node_ptr, "data_type", 0, "", ICON_NONE);
 
   Set<SocketMenuInfoPtr> &set = get_socket_menu_info_set();
   {

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

Reply via email to