Cleanup: remove intermediate menu drawing function
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user