[Bf-blender-cvs] [9f8b0b83a9c] master: UI: Avoid unnecessary label in set curve normal node

Hans Goudey noreply at git.blender.org
Tue Oct 4 19:36:18 CEST 2022


Commit: 9f8b0b83a9c5f7a2e94e2ed19125db0815505dda
Author: Hans Goudey
Date:   Tue Oct 4 12:36:06 2022 -0500
Branches: master
https://developer.blender.org/rB9f8b0b83a9c5f7a2e94e2ed19125db0815505dda

UI: Avoid unnecessary label in set curve normal node

"Mode" is obvious and isn't worth cutting off the text.

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_curve_normal.cc b/source/blender/nodes/geometry/nodes/node_geo_set_curve_normal.cc
index a61f853c6ed..e2169966f5a 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_set_curve_normal.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_set_curve_normal.cc
@@ -18,7 +18,7 @@ static void node_declare(NodeDeclarationBuilder &b)
 
 static void node_layout(uiLayout *layout, bContext * /*C*/, PointerRNA *ptr)
 {
-  uiItemR(layout, ptr, "mode", 0, nullptr, ICON_NONE);
+  uiItemR(layout, ptr, "mode", 0, "", ICON_NONE);
 }
 
 static void node_init(bNodeTree * /*tree*/, bNode *node)



More information about the Bf-blender-cvs mailing list