diff options
author | Thomas Dinges <blender@dingto.org> | 2009-11-19 16:26:51 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-11-19 16:26:51 +0300 |
commit | 2577bfddfdb8de24ccc807db8ed1c25465b407b9 (patch) | |
tree | 94ae81bfbdfc0d25d8ea30fd4a5627df3f8216e0 /release/scripts/ui/properties_scene.py | |
parent | 08a7bbeae5e96b5276c495d9b881fc840a330c67 (diff) |
Renamed "col2" to "wide_ui" which is more meaningful.
Diffstat (limited to 'release/scripts/ui/properties_scene.py')
-rw-r--r-- | release/scripts/ui/properties_scene.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/ui/properties_scene.py b/release/scripts/ui/properties_scene.py index b96445dcd90..3c1fbf01ad6 100644 --- a/release/scripts/ui/properties_scene.py +++ b/release/scripts/ui/properties_scene.py @@ -37,10 +37,10 @@ class SCENE_PT_scene(SceneButtonsPanel): def draw(self, context): layout = self.layout - col2 = context.region.width > narrowui + wide_ui = context.region.width > narrowui scene = context.scene - if col2: + if wide_ui: layout.itemR(scene, "camera") layout.itemR(scene, "set", text="Background") else: @@ -54,7 +54,7 @@ class SCENE_PT_unit(SceneButtonsPanel): def draw(self, context): layout = self.layout - col2 = context.region.width > narrowui + wide_ui = context.region.width > narrowui unit = context.scene.unit_settings col = layout.column() @@ -66,7 +66,7 @@ class SCENE_PT_unit(SceneButtonsPanel): col = split.column() col.itemR(unit, "scale_length", text="Scale") - if col2: + if wide_ui: col = split.column() col.itemR(unit, "use_separate") @@ -78,7 +78,7 @@ class SCENE_PT_keying_sets(SceneButtonsPanel): layout = self.layout scene = context.scene - col2 = context.region.width > narrowui + wide_ui = context.region.width > narrowui row = layout.row() col = row.column() @@ -96,7 +96,7 @@ class SCENE_PT_keying_sets(SceneButtonsPanel): col.itemR(ks, "name") col.itemR(ks, "absolute") - if col2: + if wide_ui: col = row.column() col.itemL(text="Keyframing Settings:") col.itemR(ks, "insertkey_needed", text="Needed") @@ -114,7 +114,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): scene = context.scene ks = scene.active_keying_set - col2 = context.region.width > narrowui + wide_ui = context.region.width > narrowui row = layout.row() row.itemL(text="Paths:") @@ -144,7 +144,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel): if ksp.entire_array == False: col.itemR(ksp, "array_index") - if col2: + if wide_ui: col = row.column() col.itemL(text="F-Curve Grouping:") col.itemR(ksp, "grouping") @@ -163,11 +163,11 @@ class SCENE_PT_physics(SceneButtonsPanel): layout = self.layout scene = context.scene - col2 = context.region.width > narrowui + wide_ui = context.region.width > narrowui layout.active = scene.use_gravity - if col2: + if wide_ui: layout.itemR(scene, "gravity", text="") else: layout.column().itemR(scene, "gravity", text="") |