[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55068] trunk/blender/release/scripts/ startup/bl_ui/space_dopesheet.py: Feature Request: "Show Errors" Filter for Anim Editors now works for
Joshua Leung
aligorith at gmail.com
Wed Mar 6 01:56:59 CET 2013
Revision: 55068
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55068
Author: aligorith
Date: 2013-03-06 00:56:58 +0000 (Wed, 06 Mar 2013)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py
Modified: trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py 2013-03-05 23:21:10 UTC (rev 55067)
+++ trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py 2013-03-06 00:56:58 UTC (rev 55068)
@@ -29,7 +29,6 @@
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 @@
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:
More information about the Bf-blender-cvs
mailing list