From: eap Date: Mon, 13 Sep 2010 09:11:19 +0000 (+0000) Subject: Fix debug output X-Git-Tag: V5_1_5a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=390a4e469f45edd4caf29f220942473ab3db4da0;p=plugins%2Fghs3dplugin.git Fix debug output #ifdef _DEBUG_ + shapeIDs.erase(-1); if ( shapeIDs.size() != nbShape ) { std::cout << "Only " << shapeIDs.size() << " solids of " << nbShape << " found" << std::endl; --- diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index 2d71bd9..16a00f8 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -1018,6 +1018,7 @@ static bool readResultFile(const int fileOpen, delete [] nodeAssigne; #ifdef _DEBUG_ + shapeIDs.erase(-1); if ( shapeIDs.size() != nbShape ) { std::cout << "Only " << shapeIDs.size() << " solids of " << nbShape << " found" << std::endl; for (int i=0; i