mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: When shape is a pacs_prim file, don't put "Not found" message
--HG-- branch : develop
This commit is contained in:
parent
a7531eac0d
commit
fa57e558a5
1 changed files with 5 additions and 4 deletions
|
@ -573,7 +573,7 @@ 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());
|
||||
|
@ -581,6 +581,7 @@ bool CInstanceGroup::addToScene (CScene& scene, IDriver *driver, uint selectedTe
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scene.setWaterCallback(oldCallback);
|
||||
return addToSceneWhenAllShapesLoaded (scene, driver, selectedTexture);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue