diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
commit | 7095f4766593cc2b55669b032d7de0fa13fcb4c7 (patch) | |
tree | 3567f182b513225a1b522b75e144eb5b75d1b6e2 /release/scripts/startup/bl_ui/properties_scene.py | |
parent | d434815ff7c586f6e54af667e37c9d2d12726416 (diff) |
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_scene.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_scene.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py index b3635acd392..d601e5619a5 100644 --- a/release/scripts/startup/bl_ui/properties_scene.py +++ b/release/scripts/startup/bl_ui/properties_scene.py @@ -40,7 +40,7 @@ class SCENE_UL_keying_set_paths(UIList): layout.label(text="", icon_value=icon) -class SceneButtonsPanel(): +class SceneButtonsPanel: bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' bl_context = "scene" @@ -85,7 +85,7 @@ class SCENE_PT_unit(SceneButtonsPanel, Panel): row.prop(unit, "use_separate") -class SceneKeyingSetsPanel(): +class SceneKeyingSetsPanel: def draw_keyframing_settings(self, context, layout, ks, ksp): self.draw_keyframing_setting(context, layout, ks, ksp, "Needed", "use_insertkey_override_needed", "use_insertkey_needed", @@ -121,7 +121,7 @@ class SceneKeyingSetsPanel(): propname = prop row = layout.row(align=True) - row.prop(item, toggle_prop, text="", icon='STYLUS_PRESSURE', toggle=True) # XXX: needs dedicated icon + row.prop(item, toggle_prop, text="", icon='STYLUS_PRESSURE', toggle=True) # XXX: needs dedicated icon subrow = row.row() subrow.active = getattr(item, toggle_prop) |