Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/ui/properties_data_lattice.py')
-rw-r--r--release/scripts/ui/properties_data_lattice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_lattice.py b/release/scripts/ui/properties_data_lattice.py
index 4bc6d9865e0..972dc18977a 100644
--- a/release/scripts/ui/properties_data_lattice.py
+++ b/release/scripts/ui/properties_data_lattice.py
@@ -28,7 +28,8 @@ class DataButtonsPanel():
bl_region_type = 'WINDOW'
bl_context = "data"
- def poll(self, context):
+ @staticmethod
+ def poll(context):
return context.lattice