From: ouv Date: Wed, 20 Jan 2010 15:24:23 +0000 (+0000) Subject: Issue 0020657: EDF 1244 SMESH: Bad display of tetras X-Git-Tag: PARAVIS_29012010~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=084d5228eef2e5ca5edb39966eeff750a01a5b72;p=modules%2Fsmesh.git Issue 0020657: EDF 1244 SMESH: Bad display of tetras --- diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index b768fd2f5..16d71448f 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -1292,11 +1292,7 @@ void SMESH_ActorDef::SetEntityMode(unsigned int theMode) VTKViewer_ExtractUnstructuredGrid* aHightFilter = myHighlitableActor->GetExtractUnstructuredGrid(); aHightFilter->ClearRegisteredCellsWithType(); - - // The following row has been commented (initially added in 1.28.2.3.1 revision) - // Reason: seems to be unnecessary, this filter should always have default (ePassAll) mode of changing - // In addition, it leads to exception (see bug IPAL21372) - //aHightFilter->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::eAdding); + aHightFilter->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::eAdding); if (myEntityMode & e0DElements) { if (MYDEBUG) MESSAGE("0D ELEMENTS");