Graph Editor: Added a filtering option for Drivers mode to only show F-Curves
with errors This filtering option is useful when rigging and you want to figure out if any of your drivers are not functioning, and/or which one(s) are not, so that you can go through fixing them. It saves you from having to check on each one individually, or going into the console to try to infer which ones are not working.
This commit is contained in:
@@ -29,6 +29,7 @@ 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,6 +38,9 @@ def dopesheet_filter(layout, context, genericFiltersOnly=False):
|
||||
if is_nla:
|
||||
row.prop(dopesheet, "show_missing_nla", text="")
|
||||
|
||||
if is_drivers:
|
||||
row.prop(dopesheet, "show_only_errors", text="")
|
||||
|
||||
if not genericFiltersOnly:
|
||||
if bpy.data.groups:
|
||||
row = layout.row(align=True)
|
||||
|
Reference in New Issue
Block a user