[Bf-blender-cvs] [294ab849099] master: Fix T95097: Attribute Capture node UI inconsistency

Hans Goudey noreply at git.blender.org
Fri Jan 21 23:08:29 CET 2022


Commit: 294ab849099828d49ee4492083d9ba15e2678fe3
Author: Hans Goudey
Date:   Fri Jan 21 16:08:21 2022 -0600
Branches: master
https://developer.blender.org/rB294ab849099828d49ee4492083d9ba15e2678fe3

Fix T95097: Attribute Capture node UI inconsistency

All other nodes with data type and domain choices have the domain
below the data type. Generally that order makes sense, because it's
consistent with nodes that have no domain drop-down.

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_capture.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_capture.cc
index 9001cb2d1f2..840dfd2fbd3 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_capture.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_capture.cc
@@ -48,8 +48,8 @@ static void node_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 {
   uiLayoutSetPropSep(layout, true);
   uiLayoutSetPropDecorate(layout, false);
-  uiItemR(layout, ptr, "domain", 0, "", ICON_NONE);
   uiItemR(layout, ptr, "data_type", 0, "", ICON_NONE);
+  uiItemR(layout, ptr, "domain", 0, "", ICON_NONE);
 }
 
 static void node_init(bNodeTree *UNUSED(tree), bNode *node)



More information about the Bf-blender-cvs mailing list