diff options
Diffstat (limited to 'release/ui/buttons_data_lamp.py')
-rw-r--r-- | release/ui/buttons_data_lamp.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/release/ui/buttons_data_lamp.py b/release/ui/buttons_data_lamp.py index e6e870bad5d..e56f19b1dec 100644 --- a/release/ui/buttons_data_lamp.py +++ b/release/ui/buttons_data_lamp.py @@ -21,11 +21,8 @@ class DATA_PT_preview(DataButtonsPanel): class DATA_PT_context_lamp(DataButtonsPanel): __idname__ = "DATA_PT_context_lamp" - __label__ = " " + __no_header__ = True - def poll(self, context): - return (context.object.type == 'LAMP') - def draw(self, context): layout = self.layout @@ -258,3 +255,4 @@ bpy.types.register(DATA_PT_shadow) bpy.types.register(DATA_PT_sunsky) bpy.types.register(DATA_PT_spot) bpy.types.register(DATA_PT_falloff_curve) + |