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:
authorThomas Dinges <blender@dingto.org>2012-07-29 14:03:46 +0400
committerThomas Dinges <blender@dingto.org>2012-07-29 14:03:46 +0400
commitab38e1d3795f58b5b3e9ca0377c9348ed710471a (patch)
treee2aa8cd5c7c83fd2781d8a2b3f71d45707dd02a9 /release/scripts/startup/bl_ui/properties_mask_common.py
parentb2462f8985c20b364590937d535d8e4d35f97599 (diff)
User Interface Scripts:
* Code cleanup, removed unneeded code. * Style cleanup, don't break lines to early (unless marked as pep8-80 or pep8-120 compliant) * Keep 1 line after layout declaration empty.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_mask_common.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index a4a81b01980..699ade3cb95 100644
--- a/release/scripts/startup/bl_ui/properties_mask_common.py
+++ b/release/scripts/startup/bl_ui/properties_mask_common.py
@@ -122,9 +122,10 @@ class MASK_PT_spline():
col = layout.column()
col.prop(spline, "weight_interpolation")
- rowsub = col.row()
- rowsub.prop(spline, "use_cyclic")
- rowsub.prop(spline, "use_fill")
+
+ row = col.row()
+ row.prop(spline, "use_cyclic")
+ row.prop(spline, "use_fill")
class MASK_PT_point():
@@ -309,10 +310,8 @@ class MASK_MT_select(Menu):
layout.separator()
- layout.operator("mask.select_all"
- ).action = 'TOGGLE'
- layout.operator("mask.select_all",
- text="Inverse").action = 'INVERT'
+ layout.operator("mask.select_all").action = 'TOGGLE'
+ layout.operator("mask.select_all", text="Inverse").action = 'INVERT'
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)