From 4e3b464f17f6e4cf0881302b3b15b04b9615f703 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Thu, 10 Nov 2022 09:33:35 +0100 Subject: [PATCH] Add Polyhedron to delegateToVTK 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/VTKViewer/VTKViewer_GeometryFilter.cxx b/src/VTKViewer/VTKViewer_GeometryFilter.cxx index db0b092ed..b038c3206 100644 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -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) ); } -- 2.39.2