Skip to content

Commit

Permalink
Merge topic 'curvatures-pass-cells'
Browse files Browse the repository at this point in the history
77f566a Pass cell data through vtkCurvatures filter.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Berk Geveci <berk.geveci@kitware.com>
Merge-request: !548
  • Loading branch information
tjcorona authored and kwrobot committed Aug 28, 2015
2 parents 215aa54 + 77f566a commit bddb13b
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 bddb13b

Please sign in to comment.