// -- Most probably a bad study was saved when there were
// not fixed bugs in SMDS_MeshInfo
if ( elemSet.size() < nbElems ) {
-#ifdef _DEBUG_
- cout << "SMESH_Gen_i::Load(), warning: Node position data is invalid" << endl;
-#endif
+ if (SALOME::VerbosityActivated())
+ cout << "SMESH_Gen_i::Load(), warning: Node position data is invalid" << endl;
+
nbElems = elemSet.size();
}
// add elements to sub-meshes