Skip to content

Commit

Permalink
Code: Hide Node Option by default
Browse files Browse the repository at this point in the history
To improve the distinction between imported and user-created node groups, node options for T3D GN node groups are now hidden by default. This change aims to provide a cleaner and more organized interface, similar to how asset node groups are handled.
  • Loading branch information
Tams3d committed Nov 23, 2024
1 parent b7e9b75 commit 4f0a415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def execute(self, context):
# Place Node Group at Mouse Cursor Location
node.location = context.space_data.cursor_location
bpy.ops.transform.translate("INVOKE_DEFAULT")
bpy.ops.node.options_toggle()
return {"FINISHED"}

def invoke(self, context, event):
Expand Down

0 comments on commit 4f0a415

Please sign in to comment.