forked from bartvdbraak/blender
Fix unreported: Missing Empty Transparency panel poll
Own mistake in recent change
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user