From: apo Date: Mon, 3 Oct 2005 12:10:04 +0000 (+0000) Subject: To adjust to polygonal and polyedral datas X-Git-Tag: BR-D5-38-2003_D2005-12-10~87 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=912ae0f27012ccd8a47e497febd3af082a3a7601;p=modules%2Fvisu.git To adjust to polygonal and polyedral datas --- diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index 94a61b7e..8b81fe72 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -282,6 +282,9 @@ namespace VISU if(aLeft->myGeom != aRight->myGeom) return aLeft->myGeom < aRight->myGeom; + if(aLeft->myStatus != aRight->myStatus) + return aLeft->myStatus < aRight->myStatus; + return aLeft->myName < aRight->myName; } diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 54d2037e..dae99499 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -173,7 +173,7 @@ namespace const MED::TGeom2Profile& theGeom2Profile) { vtkIdType aVGeom = MEDGeomToVTK(theMGeom); - vtkIdType aVNbNodes = VTKGeom2NbNodes(theMGeom); + vtkIdType aVNbNodes = VTKGeom2NbNodes(aVGeom); PMEDSubProfile aSubProfile(new TMEDSubProfile()); aSubProfile->myGeom = aVGeom; @@ -260,7 +260,8 @@ namespace } } INITMSG(MYDEBUG, - "- aVGeom = "<