Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
a1150532
Commit
a1150532
authored
Aug 07, 2007
by
Jeff Baumes
Browse files
BUG: DeepCopy() now works when the pedigree id array is a string array.
parent
fc165a3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Filtering/vtkDataSetAttributes.cxx
View file @
a1150532
...
...
@@ -30,7 +30,7 @@
#include "vtkIdTypeArray.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro
(
vtkDataSetAttributes
,
"1.2
3
"
);
vtkCxxRevisionMacro
(
vtkDataSetAttributes
,
"1.2
4
"
);
vtkStandardNewMacro
(
vtkDataSetAttributes
);
//--------------------------------------------------------------------------
...
...
@@ -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
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment