Salome HOME
Issue 0020657: EDF 1244 SMESH: Bad display of tetras
authorouv <ouv@opencascade.com>
Wed, 20 Jan 2010 15:24:23 +0000 (15:24 +0000)
committerouv <ouv@opencascade.com>
Wed, 20 Jan 2010 15:24:23 +0000 (15:24 +0000)
src/OBJECT/SMESH_Actor.cxx

index b768fd2f52ecac8547a343a950e5f0887380305a..16d71448f669a6831d419a478516cd8f938a56e3 100644 (file)
@@ -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");