mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix set_case_sensitive() and match_files()
This commit is contained in:
parent
807aa62ade
commit
474e26e951
@ -115,6 +115,7 @@ match_files(vector_string &results, const Filename &cwd) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
GlobPattern glob(pattern);
|
GlobPattern glob(pattern);
|
||||||
|
glob.set_case_sensitive(_case_sensitive);
|
||||||
return glob.r_match_files(prefix, suffix, results, cwd);
|
return glob.r_match_files(prefix, suffix, results, cwd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,6 +168,7 @@ r_match_files(const Filename &prefix, const string &suffix,
|
|||||||
}
|
}
|
||||||
|
|
||||||
GlobPattern next_glob(next_pattern);
|
GlobPattern next_glob(next_pattern);
|
||||||
|
next_glob.set_case_sensitive(_case_sensitive);
|
||||||
|
|
||||||
if (!has_glob_characters()) {
|
if (!has_glob_characters()) {
|
||||||
// If there are no special characters in the pattern, it's a
|
// If there are no special characters in the pattern, it's a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user