forked from bartvdbraak/blender
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:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user