diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-01 02:35:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-01 02:35:56 +0300 |
commit | d96480884666247beba7085cf709c615a80ddc67 (patch) | |
tree | 13984eea7d8325a7dadd2b27606adc8b10cf938b /release/scripts/ui/properties_scene.py | |
parent | 41c0236aaa1f4b07650f55905ad1cfa886336268 (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_scene.py')
-rw-r--r-- | release/scripts/ui/properties_scene.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_scene.py b/release/scripts/ui/properties_scene.py index e87807ddfab..005e0b449cd 100644 --- a/release/scripts/ui/properties_scene.py +++ b/release/scripts/ui/properties_scene.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 SceneButtonsPanel(bpy.types.Panel): bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' @@ -14,6 +15,7 @@ class SceneButtonsPanel(bpy.types.Panel): def poll(self, context): return context.scene + class SCENE_PT_scene(SceneButtonsPanel): bl_label = "Scene" COMPAT_ENGINES = set(['BLENDER_RENDER']) @@ -26,6 +28,7 @@ class SCENE_PT_scene(SceneButtonsPanel): layout.itemR(scene, "camera") layout.itemR(scene, "set", text="Background") + class SCENE_PT_unit(SceneButtonsPanel): bl_label = "Units" COMPAT_ENGINES = set(['BLENDER_RENDER']) @@ -43,6 +46,7 @@ class SCENE_PT_unit(SceneButtonsPanel): row.itemR(unit, "scale_length", text="Scale") row.itemR(unit, "use_separate") + class SCENE_PT_keying_sets(SceneButtonsPanel): bl_label = "Keying Sets" @@ -73,6 +77,7 @@ class SCENE_PT_keying_sets(SceneButtonsPanel): col.itemR(ks, "insertkey_needed", text="Needed") col.itemR(ks, "insertkey_visual", text="Visual") + class SCENE_PT_keying_set_paths(SceneButtonsPanel): bl_label = "Active Keying Set" @@ -119,6 +124,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): if ksp.grouping == 'NAMED': col.itemR(ksp, "group") + class SCENE_PT_physics(SceneButtonsPanel): bl_label = "Gravity" COMPAT_ENGINES = set(['BLENDER_RENDER']) |