From 7ff9293776b2319dd34e01e29fa601204deb29b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Sat, 2 Sep 2023 13:13:42 +0200 Subject: [PATCH] Node Wrangler: Fix outdated menu names that break addon loading tests. --- node_wrangler/interface.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/node_wrangler/interface.py b/node_wrangler/interface.py index c8a84b714..05c2c637e 100644 --- a/node_wrangler/interface.py +++ b/node_wrangler/interface.py @@ -498,11 +498,11 @@ def register(): # menu items bpy.types.NODE_MT_select.append(select_parent_children_buttons) - bpy.types.NODE_MT_category_SH_NEW_INPUT.prepend(attr_nodes_menu_func) + bpy.types.NODE_MT_category_shader_input.prepend(attr_nodes_menu_func) bpy.types.NODE_PT_backdrop.append(bgreset_menu_func) bpy.types.NODE_PT_active_node_generic.append(save_viewer_menu_func) - bpy.types.NODE_MT_category_SH_NEW_TEXTURE.prepend(multipleimages_menu_func) - bpy.types.NODE_MT_category_CMP_INPUT.prepend(multipleimages_menu_func) + bpy.types.NODE_MT_category_shader_texture.prepend(multipleimages_menu_func) + bpy.types.NODE_MT_category_compositor_input.prepend(multipleimages_menu_func) bpy.types.NODE_PT_active_node_generic.prepend(reset_nodes_button) bpy.types.NODE_MT_node.prepend(reset_nodes_button) @@ -510,11 +510,11 @@ def register(): def unregister(): # menu items bpy.types.NODE_MT_select.remove(select_parent_children_buttons) - bpy.types.NODE_MT_category_SH_NEW_INPUT.remove(attr_nodes_menu_func) + bpy.types.NODE_MT_category_shader_input.remove(attr_nodes_menu_func) bpy.types.NODE_PT_backdrop.remove(bgreset_menu_func) bpy.types.NODE_PT_active_node_generic.remove(save_viewer_menu_func) - bpy.types.NODE_MT_category_SH_NEW_TEXTURE.remove(multipleimages_menu_func) - bpy.types.NODE_MT_category_CMP_INPUT.remove(multipleimages_menu_func) + bpy.types.NODE_MT_category_shader_texture.remove(multipleimages_menu_func) + bpy.types.NODE_MT_category_compositor_input.remove(multipleimages_menu_func) bpy.types.NODE_PT_active_node_generic.remove(reset_nodes_button) bpy.types.NODE_MT_node.remove(reset_nodes_button) -- 2.30.2