diff options
Diffstat (limited to 'release/ui/buttons_data_lattice.py')
-rw-r--r-- | release/ui/buttons_data_lattice.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/ui/buttons_data_lattice.py b/release/ui/buttons_data_lattice.py index 895c1a65bea..5d8a07c7d44 100644 --- a/release/ui/buttons_data_lattice.py +++ b/release/ui/buttons_data_lattice.py @@ -2,12 +2,12 @@ import bpy class DataButtonsPanel(bpy.types.Panel): - __space_type__ = 'PROPERTIES' - __region_type__ = 'WINDOW' + __space_type__ = "PROPERTIES" + __region_type__ = "WINDOW" __context__ = "data" def poll(self, context): - return (context.lattice) + return (context.lattice != None) class DATA_PT_context_lattice(DataButtonsPanel): __show_header__ = False |