]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Preparation win32 version V7_2_BR V7_2_0_WIN
authorana <ana@opencascade.com>
Fri, 26 Jul 2013 16:48:45 +0000 (16:48 +0000)
committerana <ana@opencascade.com>
Fri, 26 Jul 2013 16:48:45 +0000 (16:48 +0000)
src/SMDS/SMDS_MeshNode.cxx

index 80bbf81c84a68f50461f0c76fe506357d3ce0d18..01a11840625771ba30dfa7db289590e15bddf3d7 100644 (file)
@@ -165,7 +165,7 @@ public:
             cellList.push_back(vtkId);
           }
       }
-    myCells = &cellList[0];
+    myCells = cellList.empty() ? 0 : &cellList[0];
     myNcells = cellList.size();
     //MESSAGE("myNcells="<<myNcells);
   }