[vtk-developers] [VTK 0012777]: pass field data when vtkDataSet::CopyAttributes()
Mantis Bug Tracker
mantis at public.kitware.com
Thu Dec 8 07:36:58 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://paraview.org/Bug/view.php?id=12777
======================================================================
Reported By: Felipe Bordeu
Assigned To:
======================================================================
Project: VTK
Issue ID: 12777
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: high
Status: backlog
Project: Kitware
Type: feature
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-12-08 07:36 EST
Last Modified: 2011-12-08 07:36 EST
======================================================================
Summary: pass field data when vtkDataSet::CopyAttributes()
Description:
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());
}
//----------------------------------------------------------------------------
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-12-08 07:36 Felipe Bordeu New Issue
======================================================================
More information about the vtk-developers
mailing list