From 4ab7bb5b1f23b3afd243a0ba745d84838c079e45 Mon Sep 17 00:00:00 2001 From: Martijn Versteegh Date: Fri, 7 Apr 2023 13:09:33 +0200 Subject: [PATCH] Fix : Show 'Exit group' menu entry also for non group nodes. The Exit Group menu entry was mistakenly only whown for nodes who are themselves also group nodes. It should be show for any node inside a group. Pull Request: https://projects.blender.org/blender/blender/pulls/106643 --- scripts/startup/bl_ui/space_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/startup/bl_ui/space_node.py b/scripts/startup/bl_ui/space_node.py index 7049f600801..564c53ca815 100644 --- a/scripts/startup/bl_ui/space_node.py +++ b/scripts/startup/bl_ui/space_node.py @@ -555,8 +555,8 @@ class NODE_MT_context_menu(Menu): layout.operator("node.group_edit", text="Edit").exit = False layout.operator("node.group_ungroup", text="Ungroup") - if is_nested: - layout.operator("node.tree_path_parent", text="Exit Group", icon='FILE_PARENT') + if is_nested: + layout.operator("node.tree_path_parent", text="Exit Group", icon='FILE_PARENT') layout.separator()