diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-08-22 06:14:39 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-08-22 06:14:39 +0400 |
commit | 06ae5e48258dacc5598b23286d46891be32a08e5 (patch) | |
tree | 49b63c2e1859d7205b7896b6fd40cf7785a50ef2 /release/scripts/startup/bl_ui/space_dopesheet.py | |
parent | 2b0127a0c5a7c8eaea12af4c662d2b237a2d45e6 (diff) |
Reshuffling DopeSheet filter icons so that they appear more obviously
related to each other
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index cab58a3aadb..74ae427c5cf 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -35,7 +35,7 @@ def dopesheet_filter(layout, context, genericFiltersOnly=False): row.prop(dopesheet, "show_hidden", text="") if is_nla: - row.prop(dopesheet, "show_missing_nla", text="") + row.prop(dopesheet, "show_missing_nla", text="") if not genericFiltersOnly: if bpy.data.groups: @@ -50,21 +50,16 @@ def dopesheet_filter(layout, context, genericFiltersOnly=False): if dopesheet.show_only_matching_fcurves: row.prop(dopesheet, "filter_fcurve_name", text="") - row = layout.row() - row.prop(dopesheet, "show_datablock_filters", text="Filters", icon='DISCLOSURE_TRI_RIGHT') + row = layout.row(align=True) + row.prop(dopesheet, "show_datablock_filters", text="Filters") if (not genericFiltersOnly) and (dopesheet.show_datablock_filters): - # TODO: put a box around these? - subrow = row.row() - - row = subrow.row(align=True) - row.prop(dopesheet, "show_transforms", text="") - - row = subrow.row(align=True) row.prop(dopesheet, "show_scenes", text="") row.prop(dopesheet, "show_worlds", text="") row.prop(dopesheet, "show_nodes", text="") + row.prop(dopesheet, "show_transforms", text="") + if bpy.data.meshes: row.prop(dopesheet, "show_meshes", text="") if bpy.data.shape_keys: |