From fd959bf658c36eebad32fd4d2cfa493f30eda4ea Mon Sep 17 00:00:00 2001 From: William Reynish Date: Thu, 30 Jan 2020 17:18:07 +0100 Subject: [PATCH] Fix unreported: Missing Empty Transparency panel poll Own mistake in recent change --- release/scripts/startup/bl_ui/properties_data_empty.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py index 72946ed1268..88fdaae0433 100644 --- a/release/scripts/startup/bl_ui/properties_data_empty.py +++ b/release/scripts/startup/bl_ui/properties_data_empty.py @@ -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