2.6 UI Files:

* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!
This commit is contained in:
2011-08-13 17:52:13 +00:00
parent c83417b2e2
commit 65d9d2e3e0
12 changed files with 94 additions and 155 deletions

View File

@@ -35,10 +35,9 @@ class TIME_HT_header(Header):
row.template_header()
if context.area.show_menus:
sub = row.row(align=True)
sub.menu("TIME_MT_view")
sub.menu("TIME_MT_frame")
sub.menu("TIME_MT_playback")
row.menu("TIME_MT_view")
row.menu("TIME_MT_frame")
row.menu("TIME_MT_playback")
layout.prop(scene, "use_preview_range", text="", toggle=True)