diff options
Diffstat (limited to 'release/scripts/ui/space_outliner.py')
-rw-r--r-- | release/scripts/ui/space_outliner.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/release/scripts/ui/space_outliner.py b/release/scripts/ui/space_outliner.py index d5bb35baa6c..ec3c430feaa 100644 --- a/release/scripts/ui/space_outliner.py +++ b/release/scripts/ui/space_outliner.py @@ -36,11 +36,14 @@ class OUTLINER_HT_header(bpy.types.Header): if context.area.show_menus: sub = row.row(align=True) sub.menu("OUTLINER_MT_view") + sub.menu("OUTLINER_MT_search") if space.display_mode == 'DATABLOCKS': sub.menu("OUTLINER_MT_edit_datablocks") layout.prop(space, "display_mode", text="") + layout.prop(space, "display_filter", icon='VIEWZOOM', text="") + layout.separator() if space.display_mode == 'DATABLOCKS': @@ -83,6 +86,20 @@ class OUTLINER_MT_view(bpy.types.Menu): layout.operator("screen.screen_full_area") +class OUTLINER_MT_search(bpy.types.Menu): + bl_label = "Search" + + def draw(self, context): + layout = self.layout + + space = context.space_data + + col = layout.column() + + col.prop(space, "match_case_sensitive") + col.prop(space, "match_complete") + + class OUTLINER_MT_edit_datablocks(bpy.types.Menu): bl_label = "Edit" @@ -103,6 +120,7 @@ class OUTLINER_MT_edit_datablocks(bpy.types.Menu): classes = [ OUTLINER_HT_header, OUTLINER_MT_view, + OUTLINER_MT_search, OUTLINER_MT_edit_datablocks] |