Fix unreported: Missing Empty Transparency panel poll

Own mistake in recent change
This commit is contained in:
William Reynish 2020-01-30 17:18:07 +01:00
parent cb8714fd8a
commit fd959bf658

@ -60,6 +60,11 @@ class DATA_PT_empty_alpha(DataButtonsPanel, Panel):
bl_label = "Transparency"
bl_parent_id = "DATA_PT_empty"
@classmethod
def poll(cls, context):
ob = context.object
return (ob and ob.type == 'EMPTY' and ob.empty_display_type == 'IMAGE')
def draw_header(self, context):
ob = context.object