From 11dbadb4424a28d53873323d0e29ce1971fd2ef7 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 6 Mar 2013 00:56:58 +0000 Subject: [PATCH] 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. --- release/scripts/startup/bl_ui/space_dopesheet.py | 4 +--- 1 file changed, 1 insertion(+), 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: