"vscode:/vscode.git/clone" did not exist on "568b73fdf86dcc12a88b526633c7bef4bf8cf58f"
Commit adb9eb94 authored by Chris's avatar Chris
Browse files

Send class description if any

parent cb080e77
......@@ -398,7 +398,7 @@ class PromptServer():
info['output_name'] = obj_class.RETURN_NAMES if hasattr(obj_class, 'RETURN_NAMES') else info['output']
info['name'] = node_class
info['display_name'] = nodes.NODE_DISPLAY_NAME_MAPPINGS[node_class] if node_class in nodes.NODE_DISPLAY_NAME_MAPPINGS.keys() else node_class
info['description'] = ''
info['description'] = obj_class.DESCRIPTION if hasattr(node_class,'DESCRIPTION') else ''
info['category'] = 'sd'
if hasattr(obj_class, 'OUTPUT_NODE') and obj_class.OUTPUT_NODE == True:
info['output_node'] = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment