Salome HOME
Add Polyhedron to delegateToVTK
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 10 Nov 2022 08:33:35 +0000 (09:33 +0100)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 10 Nov 2022 08:33:35 +0000 (09:33 +0100)
No more issue since we have switched to Paraview 5.11
spns #26344
https://discourse.vtk.org/t/segmentation-fault-with-vtkgeometryfilter-on-4-threads/5735

src/VTKViewer/VTKViewer_GeometryFilter.cxx

index db0b092edbf90869e1ed52bca02a87e9a4be2fab..b038c320663ee83df0d6042ead999210d05b68b4 100644 (file)
@@ -267,11 +267,6 @@ VTKViewer_GeometryFilter
              ElementsNotFitToDelegate.insert( VTK_BIQUADRATIC_QUADRATIC_WEDGE );
              ElementsNotFitToDelegate.insert( VTK_QUADRATIC_PYRAMID );
 
-             // Some openMP tests reveal that  meshes with  polyhedrons  can  sometimes cause
-             // problems as such we avoide delegation = ElementsNotFitToDelegate. It would be
-             // nice to investigate and resolve the problem with multi-therding in future.   
-             ElementsNotFitToDelegate.insert( VTK_POLYHEDRON );
-
              for ( int i = 0; i < types->GetNumberOfTuples() && !NotFitForDelegation; ++i )
                 NotFitForDelegation = ElementsNotFitToDelegate.count( types->GetValue(i) );
             }