Skip to content

Commit

Permalink
Pass cell data through vtkCurvatures filter.
Browse files Browse the repository at this point in the history
This fix is in reference to bug report 0015138.
  • Loading branch information
tjcorona committed Aug 18, 2015
1 parent 2e0acc8 commit 77f566a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Filters/General/vtkCurvatures.cxx
Expand Up @@ -15,6 +15,7 @@
#include "vtkCurvatures.h"

#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkDoubleArray.h"
#include "vtkFieldData.h"
#include "vtkFloatArray.h"
Expand Down Expand Up @@ -412,6 +413,7 @@ int vtkCurvatures::RequestData(

output->CopyStructure(input);
output->GetPointData()->PassData(input->GetPointData());
output->GetCellData()->PassData(input->GetCellData());
output->GetFieldData()->PassData(input->GetFieldData());

//-------------------------------------------------------//
Expand Down

0 comments on commit 77f566a

Please sign in to comment.