mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Crashfix in case pacs_prim are exported into .ig
This commit is contained in:
parent
6e4a14740c
commit
ef9a0d8184
1 changed files with 6 additions and 0 deletions
|
@ -410,6 +410,12 @@ int main(int argc, char* argv[])
|
||||||
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
||||||
continue;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
// Add a .shape at the end ?
|
// Add a .shape at the end ?
|
||||||
if (!name.empty())
|
if (!name.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue