From 247129e88fd5e589b52df32e80c4e9621d5f82fe Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 13 Mar 2018 23:31:24 +0100 Subject: [PATCH] FEM: vtk tools, fix quad hexa array name --- src/Mod/Fem/App/FemVTKTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/App/FemVTKTools.cpp b/src/Mod/Fem/App/FemVTKTools.cpp index ed84caf6de..ec6d14cb07 100644 --- a/src/Mod/Fem/App/FemVTKTools.cpp +++ b/src/Mod/Fem/App/FemVTKTools.cpp @@ -361,7 +361,7 @@ void exportFemMeshCells(vtkSmartPointer grid, const SMDS_Vo for(int i=0; i<20; i++){ cell->GetPointIds()->SetId(i, aVol->GetNode(i)->GetID()-1); } - hexaArray->InsertNextCell(cell); + quadHexaArray->InsertNextCell(cell); } else { throw std::runtime_error("Volume not yet supported by FreeCADs VTK mesh builder\n");