Changed: When shape is a pacs_prim file, don't put "Not found" message
This commit is contained in:
parent
d93fde2853
commit
fcd8ba8b4f
1 changed files with 5 additions and 4 deletions
|
@ -573,10 +573,11 @@ bool CInstanceGroup::addToScene (CScene& scene, IDriver *driver, uint selectedTe
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_Instances[i] = scene.createInstance (shapeName);
|
_Instances[i] = scene.createInstance (shapeName);
|
||||||
}
|
|
||||||
if( _Instances[i] == NULL )
|
if (_Instances[i] == NULL)
|
||||||
{
|
{
|
||||||
nlwarning("Not found '%s' file", shapeName.c_str());
|
nlwarning("Not found '%s' file", shapeName.c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue