Skip to content

Commit

Permalink
add node
Browse files Browse the repository at this point in the history
  • Loading branch information
zeffii committed Jun 19, 2021
1 parent 4083422 commit aed1510
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def draw_label(text):
if flags:
text = text + " [" + ",".join(flags) + "]"
if self.description:
layout.operator('node.sv_socket_show_help', text=text, emboss=False).text = self.description
layout.operator('node.sv_socket_show_help', text=text, icon='QUESTION', emboss=False).text = self.description
else:
layout.label(text=text)

Expand Down
5 changes: 4 additions & 1 deletion ui/sv_3d_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,10 @@ def modal(self, context, event):
if not (event.type == 'TIMER'):
return {'PASS_THROUGH'}

objects_nodes_set = {'ObjectsNode', 'ObjectsNodeMK2', 'SvObjectsNodeMK3', 'SvExNurbsInNode', 'SvBezierInNode'}
objects_nodes_set = {
'SvObjectsNodeMK3', 'SvExNurbsInNode', 'SvBezierInNode', 'SvGetObjectsData'
}

obj_nodes = []
for ng in bpy.data.node_groups:
if ng.bl_idname == 'SverchCustomTreeType':
Expand Down

0 comments on commit aed1510

Please sign in to comment.