forked from bartvdbraak/blender
Fix T66300: GPencil layer context menu not working in topbar layer popover
This commit is contained in:
parent
76aff66301
commit
e1cb15c5d6
@ -81,7 +81,8 @@ class GPENCIL_MT_layer_context_menu(Menu):
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
gpd = context.gpencil
|
||||
ob = context.object
|
||||
gpd = ob.data
|
||||
|
||||
layout.operator("gpencil.layer_duplicate", icon='ADD') # XXX: needs a dedicated icon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user