Crashfix in case pacs_prim are exported into .ig

hg/feature/cdb-packed
kaetemi 11 years ago
parent e811ff77b1
commit e0e1953f41

@ -699,6 +699,12 @@ int main(int argc, char* argv[])
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
continue;
if (toLower (CFile::getExtension (name)) == "pacs_prim")
{
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
continue;
}
// PS ?
if (toLower (CFile::getExtension (name)) == "ps")
continue;

Loading…
Cancel
Save