From: apo Date: Mon, 29 Aug 2005 08:30:29 +0000 (+0000) Subject: To improve IsPossible function X-Git-Tag: BR-D5-38-2003_D2005-12-09~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=28189ef8852eea245b1f7a2f3e43ef57750da3eb;p=modules%2Fvisu.git To improve IsPossible function --- diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index e1207625..9271eabd 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -43,7 +43,10 @@ VISU::GaussPoints_i const char* theFieldName, int theIteration, int isMemoryCheck) { try{ - return VISU::ScalarMap_i::IsPossible(theResult,theMeshName,theEntity,theFieldName,theIteration,isMemoryCheck); + if(theEntity != VISU::NODE) + return VISU::ScalarMap_i::IsPossible(theResult,theMeshName,theEntity,theFieldName,theIteration,isMemoryCheck); + else + return false; }catch(std::exception& exc){ INFOS("Follow exception was occured :\n"<