Improved the Outliner live-search so that in the default scene, doing a simple search...
authorJoshua Leung <aligorith@gmail.com>
Fri, 23 Apr 2010 04:16:08 +0000 (04:16 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 23 Apr 2010 04:16:08 +0000 (04:16 +0000)
commit967c2d55f76b41c688fc1a705baa81117160bf0b
treedda418153ba0161ebcc5936fb1fbaaa4c56b8f1c
parenteba8672f123d2e5d91c8b3b8b5d97b33c122797e
Improved the Outliner live-search so that in the default scene, doing a simple search for "cu" (to show the default cube only) will show the matching item.

Previously, because the 'Scene' item is encountered first, all sub-items like this would be ignored. Now, when a non-matching item is encountered, it's subtree is checked as per normal, as long as the item was expanded (so that its subtree is still visible).
source/blender/editors/space_outliner/outliner.c
source/blender/editors/space_outliner/outliner_intern.h