Added back the basic Search operator to the node Add menu. This operator should be implemented a bit nicer using the new categories system as well, but for now works just as before.

This commit is contained in:
Lukas Toenne 2013-04-17 07:47:00 +00:00
parent cfefa1d086
commit bb1b2529a0

@ -104,6 +104,9 @@ def register_node_ui():
def draw_add_menu(self, context):
layout = self.layout
layout.operator_context = 'INVOKE_DEFAULT'
op = layout.operator("node.add_search", text="Search ...")
for cat in node_categories:
if cat.poll(context):
layout.menu("NODE_MT_category_%s" % cat.identifier)