if(!anIDMapper) return false;
bool aAllPoints = true;
- if(anIDMapper->GetVTKOutput()->GetNumberOfCells()>0){
+ int aNbCellsInGeom = anIDMapper->GetVTKOutput()->GetNumberOfCells();
+ if(aNbCellsInGeom>0){
int aVtkCellType = anIDMapper->GetVTKOutput()->GetCellType(0);
if (MYDEBUG) MESSAGE("CellType="<<aVtkCellType);
switch(myEntity){
case NODE_ENTITY:
+ // Warning. May be unstable. Created for NPAL15200
+ aAllPoints = false;
+ break;
case CELL_ENTITY:
if(aVtkCellType != VTK_LINE &&
aVtkCellType != VTK_POLY_LINE &&