Revision: 28433
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28433
Author: aligorith
Date: 2010-04-26 12:31:09 +0200 (Mon, 26 Apr 2010)
Log Message:
-----------
Outliner Filtering Bugfix:
Campbell's changes to make this use fnmatch by default had the case-sensitivity
setting inverted. This meant that convenient searches in lowercase were no
longer possible by default.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_outliner/outliner.c
Modified: trunk/blender/source/blender/editors/space_outliner/outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner.c
2010-04-26 10:12:03 UTC (rev 28432)
+++ trunk/blender/source/blender/editors/space_outliner/outliner.c
2010-04-26 10:31:09 UTC (rev 28433)
@@ -1265,10 +1265,10 @@
int fn_flag= 0;
int found= 0;
- if(flags & SO_FIND_CASE_SENSITIVE)
+ if ((flags & SO_FIND_CASE_SENSITIVE) == 0)
fn_flag |= FNM_CASEFOLD;
- if(flags & SO_FIND_COMPLETE) {
+ if (flags & SO_FIND_COMPLETE) {
found= fnmatch(name, te->name, fn_flag)==0;
}
else {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs