Let prim checker only open files with ig extension
--HG-- branch : build_pipeline_py
This commit is contained in:
parent
240576ab9c
commit
31d5b54e74
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ bool CPrimChecker::build(const string &primitivesPath, const string &igLandPath,
|
|||
// load ig associated to the zone
|
||||
string igname = files[i];
|
||||
|
||||
if (CFile::getExtension(igname) != "ig")
|
||||
continue;
|
||||
|
||||
string ignamelookup = CPath::lookup(igname);
|
||||
//nlinfo("Reading ig '%s'", ignamelookup.c_str());
|
||||
CIFile igStream(ignamelookup);
|
||||
|
|
Loading…
Reference in a new issue