Cleanup: remove intermediate menu drawing function

This commit is contained in:
Campbell Barton
2018-12-20 12:02:21 +11:00
parent dc3d9467f2
commit 6b7d03ac03
13 changed files with 15 additions and 56 deletions

View File

@@ -166,10 +166,7 @@ class NODE_MT_editor_menus(Menu):
bl_label = ""
def draw(self, context):
self.draw_menus(self.layout, context)
@staticmethod
def draw_menus(layout, context):
layout = self.layout
layout.menu("NODE_MT_view")
layout.menu("NODE_MT_select")
layout.menu("NODE_MT_add")