diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/node.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_operators/node.py b/release/scripts/startup/bl_operators/node.py index fbebee2d8a1..9fdaebc7540 100644 --- a/release/scripts/startup/bl_operators/node.py +++ b/release/scripts/startup/bl_operators/node.py @@ -192,14 +192,12 @@ class NODE_OT_add_search(NodeAddOperator, Operator): for index, item in enumerate(nodeitems_utils.node_items_iter(context)): if isinstance(item, nodeitems_utils.NodeItem): - nodetype = getattr(bpy.types, item.nodetype, None) - if nodetype: - enum_items.append( - (str(index), - item.label, - nodetype.bl_rna.description, - index, - )) + enum_items.append( + (str(index), + item.label, + "", + index, + )) return enum_items # Look up the item based on index |