Cleanup: remove intermediate menu drawing function

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

View File

@@ -291,10 +291,7 @@ class VIEW3D_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
obj = context.active_object
mode_string = context.mode
edit_object = context.edit_object