diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-03-06 04:56:58 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-03-06 04:56:58 +0400 |
commit | 11dbadb4424a28d53873323d0e29ce1971fd2ef7 (patch) | |
tree | b848a09b743c76eb8ab1eb2fedfcac791eba5c67 /release/scripts/startup/bl_ui/space_dopesheet.py | |
parent | 0a83879538bbcb306e5b03884378f823adfc77f5 (diff) |
Feature Request: "Show Errors" Filter for Anim Editors now works for
F-Curves/Animation as well as Drivers
This is useful for tracking down invalid F-Curves which might need to have their
paths fixed, or perhaps to remove F-Curves for controls which no longer exist in
a new rig.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index adeae9da790..2ad57247996 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -29,7 +29,6 @@ from bpy.types import Header, Menu def dopesheet_filter(layout, context, genericFiltersOnly=False): dopesheet = context.space_data.dopesheet is_nla = context.area.type == 'NLA_EDITOR' - is_drivers = (context.area.type == 'GRAPH_EDITOR' and context.space_data.mode == 'DRIVERS') row = layout.row(align=True) row.prop(dopesheet, "show_only_selected", text="") @@ -37,8 +36,7 @@ def dopesheet_filter(layout, context, genericFiltersOnly=False): if is_nla: row.prop(dopesheet, "show_missing_nla", text="") - - if is_drivers: + else: # graph and dopesheet editors - F-Curves and drivers only row.prop(dopesheet, "show_only_errors", text="") if not genericFiltersOnly: |