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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-01 02:35:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-01 02:35:56 +0300
commitd96480884666247beba7085cf709c615a80ddc67 (patch)
tree13984eea7d8325a7dadd2b27606adc8b10cf938b /release/scripts/ui/properties_data_lattice.py
parent41c0236aaa1f4b07650f55905ad1cfa886336268 (diff)
made scripts pass the pep8 test (though not fully pep8 yet)
added comment in header to know if a script has been converted or not.
Diffstat (limited to 'release/scripts/ui/properties_data_lattice.py')
-rw-r--r--release/scripts/ui/properties_data_lattice.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_lattice.py b/release/scripts/ui/properties_data_lattice.py
index 7d3bbdde38e..d8aff96a693 100644
--- a/release/scripts/ui/properties_data_lattice.py
+++ b/release/scripts/ui/properties_data_lattice.py
@@ -3,9 +3,10 @@
# http://www.gnu.org/copyleft/gpl.html. Installing, importing or otherwise
# using this module constitutes acceptance of the terms of this License.
-
+# <pep8 compliant>
import bpy
+
class DataButtonsPanel(bpy.types.Panel):
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
@@ -14,6 +15,7 @@ class DataButtonsPanel(bpy.types.Panel):
def poll(self, context):
return context.lattice
+
class DATA_PT_context_lattice(DataButtonsPanel):
bl_label = ""
bl_show_header = False
@@ -34,6 +36,7 @@ class DATA_PT_context_lattice(DataButtonsPanel):
split.template_ID(space, "pin_id")
split.itemS()
+
class DATA_PT_lattice(DataButtonsPanel):
bl_label = "Lattice"