pass field data when vtkDataSet::CopyAttributes()
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Now only cell and point data are passed when copyAttributes is call, so field data is lost in the new object (one must copy the fielddata manualy)
diff --git a/Filtering/vtkDataSet.cxx b/Filtering/vtkDataSet.cxx index 859fda0..7bd196a 100644 --- a/Filtering/vtkDataSet.cxx +++ b/Filtering/vtkDataSet.cxx @@ -64,6 +64,7 @@ void vtkDataSet::CopyAttributes(vtkDataSet *ds) { this->GetPointData()->PassData(ds->GetPointData()); this->GetCellData()->PassData(ds->GetCellData());
- this->GetFieldData()->PassData(ds->GetFieldData()); }
//----------------------------------------------------------------------------