diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-02-10 16:45:18 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-02-10 16:45:18 -0500 |
commit | acd46062fd2edf4b45ab646cbacaf865b169ec30 (patch) | |
tree | d1d0582ae3e7e7b88ff9f6401fcb1f32630ff3bb /indra/newview/llfloatermodelpreview.h | |
parent | 9011b04496796d7e51c20af0241ec05796e1ccac (diff) |
Eliminate ManifestError for wildcards matching 0 files.
Turns out that some (many?) wildcard LLManifest.path(wildcard) calls are "just
in case": sweep up any (e.g.) "*.tga" files there may be, but no problem if
there are none.
Change path() logic so it tries the next tree (source, artwork, build) if
either a specific (non-wildcard) filename doesn't exist, as now, OR if a
wildcard matches 0 files in the current tree. This continues to support "just
in case" wildcards, while permitting wildcards to work in the artwork and
build trees as well as the source tree.
Use a more specific exception than ManifestError for missing file. Only in
that case should we try the next tree. Any other ManifestError should
propagate.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
0 files changed, 0 insertions, 0 deletions