Patch [#23443] Change outliner filter into search
authorJoshua Leung <aligorith@gmail.com>
Fri, 9 Sep 2011 12:46:07 +0000 (12:46 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 9 Sep 2011 12:46:07 +0000 (12:46 +0000)
commit67ea3180d902e762b6373fe2cbe2434aceb0f597
tree13786a84640cf8f5ce3f6fc9fb716e2cb8c139fa
parentbef9509565e18504ca1a82b4972214a52aedad08
Patch [#23443] Change outliner filter into search
Shane Ambler (sambler) for this 12-month vintage!

From description:
One thing with the outliner filter box is it only filters items that
are currently visible. To find what you want you need to manually
expand a few levels so that what you want to find is visible.

This small patch expands items when filtering is done - effectively
turning it into a search.

Currently this does not alter the datablocks view as expanding all
entries takes waaaay tooooo long.
I prevent the expansion of RNA entries for userprefs which prevents
infinite recursion but the datablocks list is just too big for this
approach. I think it would need a custom outliner_build_tree for a
full search.
source/blender/editors/space_outliner/outliner_draw.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/outliner_intern.h
source/blender/editors/space_outliner/outliner_select.c
source/blender/editors/space_outliner/outliner_tools.c
source/blender/editors/space_outliner/outliner_tree.c
source/blender/makesdna/DNA_outliner_types.h
source/blender/makesdna/DNA_space_types.h