Fix Object menu in 3D view

Was broken after 89e3ba4e25, context wasn't used before in the menu.
This commit is contained in:
Thomas Dinges
2023-10-23 09:37:16 +02:00
parent cdac2b813e
commit 1f9a6898a4

View File

@@ -2685,7 +2685,7 @@ class VIEW3D_MT_object(Menu):
bl_context = "objectmode"
bl_label = "Object"
def draw(self, _context):
def draw(self, context):
layout = self.layout
layout.menu("VIEW3D_MT_transform_object")