pygui: fixed issue with saving services for custom nodes, fixed issue with setting default services present when selecting services for a custom node

This commit is contained in:
Blake Harnden 2021-04-13 21:53:50 -07:00
parent b2726b627f
commit 984d28275b
2 changed files with 8 additions and 8 deletions

View file

@ -172,7 +172,7 @@ class NodeDraw:
node_draw.image_file = custom_node.image
node_draw.image = images.from_file(custom_node.image, width=images.NODE_SIZE)
node_draw.node_type = NodeType.DEFAULT
node_draw.services = custom_node.services
node_draw.services = set(custom_node.services)
node_draw.label = custom_node.name
node_draw.model = custom_node.name
node_draw.tooltip = custom_node.name