Commit a1150532 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

BUG: DeepCopy() now works when the pedigree id array is a string array.

parent fc165a3d
......@@ -30,7 +30,7 @@
#include "vtkIdTypeArray.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkDataSetAttributes, "1.23");
vtkCxxRevisionMacro(vtkDataSetAttributes, "1.24");
......@@ -147,7 +147,7 @@ void vtkDataSetAttributes::DeepCopy(vtkFieldData *fd)
// If this array is an attribute in the source, make it so
// in the target as well.
this->SetAttribute(vtkDataArray::SafeDownCast(newData), attributeType);
this->SetAttribute(newData, attributeType);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment