Fix: Correct order of nodes in the Mesh > Write menu
The ordering of geometry nodes in the menus is intended to be alphabetic, but the new "Set Face Set" node was listed _after_ the "Set Shade Smooth" node in the Mesh > Write menu. This fixes the order. Pull Request: https://projects.blender.org/blender/blender/pulls/114475
This commit is contained in:
committed by
Hans Goudey
parent
e623d07362
commit
23e3f8f563
@@ -384,9 +384,9 @@ class NODE_MT_geometry_node_GEO_MESH_WRITE(Menu):
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
node_add_menu.add_node_type(layout, "GeometryNodeSetShadeSmooth")
|
||||
if context.space_data.geometry_nodes_type == 'TOOL':
|
||||
node_add_menu.add_node_type(layout, "GeometryNodeToolSetFaceSet")
|
||||
node_add_menu.add_node_type(layout, "GeometryNodeSetShadeSmooth")
|
||||
node_add_menu.draw_assets_for_catalog(layout, "Mesh/Write")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user