From: enk Date: Thu, 12 Apr 2007 05:55:05 +0000 (+0000) Subject: Fix for Bug NPAL14169 and 15200. X-Git-Tag: V3_2_6pre4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=223651bff47736136f6020a5dac0251f54418f2f;p=modules%2Fvisu.git Fix for Bug NPAL14169 and 15200. --- diff --git a/src/VISU_I/VISU_PrsMerger_i.cc b/src/VISU_I/VISU_PrsMerger_i.cc index 165afce1..c021c9d3 100644 --- a/src/VISU_I/VISU_PrsMerger_i.cc +++ b/src/VISU_I/VISU_PrsMerger_i.cc @@ -543,11 +543,15 @@ VISU::PrsMerger_i 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="<