mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-24 08:06:13 +00:00
Let prim checker only open files with ig extension
This commit is contained in:
parent
c90f0dc42a
commit
d3ccda4153
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