Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_dopesheet.py
| Show All 35 Lines | def dopesheet_filter(layout, context, genericFiltersOnly=False): | ||||
| row.prop(dopesheet, "show_hidden", text="") | row.prop(dopesheet, "show_hidden", text="") | ||||
| if is_nla: | if is_nla: | ||||
| row.prop(dopesheet, "show_missing_nla", text="") | row.prop(dopesheet, "show_missing_nla", text="") | ||||
| else: # graph and dopesheet editors - F-Curves and drivers only | else: # graph and dopesheet editors - F-Curves and drivers only | ||||
| row.prop(dopesheet, "show_only_errors", text="") | row.prop(dopesheet, "show_only_errors", text="") | ||||
| if not genericFiltersOnly: | if not genericFiltersOnly: | ||||
| if bpy.data.groups: | if bpy.data.collections: | ||||
| row = layout.row(align=True) | row = layout.row(align=True) | ||||
| row.prop(dopesheet, "show_only_group_objects", text="") | row.prop(dopesheet, "show_only_collection_objects", text="") | ||||
| if dopesheet.show_only_group_objects: | if dopesheet.show_only_collection_objects: | ||||
| row.prop(dopesheet, "filter_group", text="") | row.prop(dopesheet, "filter_collection", text="") | ||||
| if not is_nla: | if not is_nla: | ||||
| row = layout.row(align=True) | row = layout.row(align=True) | ||||
| row.prop(dopesheet, "show_only_matching_fcurves", text="") | row.prop(dopesheet, "show_only_matching_fcurves", text="") | ||||
| if dopesheet.show_only_matching_fcurves: | if dopesheet.show_only_matching_fcurves: | ||||
| row.prop(dopesheet, "filter_fcurve_name", text="") | row.prop(dopesheet, "filter_fcurve_name", text="") | ||||
| row.prop(dopesheet, "use_multi_word_filter", text="") | row.prop(dopesheet, "use_multi_word_filter", text="") | ||||
| else: | else: | ||||
| ▲ Show 20 Lines • Show All 436 Lines • Show Last 20 Lines | |||||