From fcd8ba8b4f620f4d5c35f75c29fce502ec1a5620 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 25 Oct 2016 16:04:06 +0200 Subject: [PATCH] Changed: When shape is a pacs_prim file, don't put "Not found" message --- code/nel/src/3d/scene_group.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/nel/src/3d/scene_group.cpp b/code/nel/src/3d/scene_group.cpp index 1d98f21bb..5b29709cc 100644 --- a/code/nel/src/3d/scene_group.cpp +++ b/code/nel/src/3d/scene_group.cpp @@ -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()); + } } } }