Changed: When shape is a pacs_prim file, don't put "Not found" message

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-25 16:04:06 +02:00
parent a7531eac0d
commit fa57e558a5

View file

@ -573,10 +573,11 @@ bool CInstanceGroup::addToScene (CScene& scene, IDriver *driver, uint selectedTe
else
{
_Instances[i] = scene.createInstance (shapeName);
}
if( _Instances[i] == NULL )
{
nlwarning("Not found '%s' file", shapeName.c_str());
if (_Instances[i] == NULL)
{
nlwarning("Not found '%s' file", shapeName.c_str());
}
}
}
}