diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index 34137c8e9d3..47775251955 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -138,6 +138,19 @@ class DOPESHEET_HT_header(Header): # 'genericFiltersOnly' limits the options to only the relevant 'generic' subset of # filters which will work here and are useful (especially for character animation) dopesheet_filter(layout, context, genericFiltersOnly=True) + elif st.mode == 'GPENCIL': + row = layout.row(align=True) + row.prop(st.dopesheet, "show_gpencil_3d_only", text="Active Only") + + if st.dopesheet.show_gpencil_3d_only: + row = layout.row(align=True) + row.prop(st.dopesheet, "show_only_selected", text="") + row.prop(st.dopesheet, "show_hidden", text="") + + row = layout.row(align=True) + row.prop(st.dopesheet, "use_filter_text", text="") + if st.dopesheet.use_filter_text: + row.prop(st.dopesheet, "filter_text", text="") row = layout.row(align=True) row.prop(toolsettings, "use_proportional_action", |