Skip to content
GitLab
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
2e067c70
Commit
2e067c70
authored
Apr 05, 2004
by
Berk Geveci
Browse files
BUG: Was not passing dataobject's fielddata
parent
9ae6b2b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Graphics/vtkAssignAttribute.cxx
View file @
2e067c70
...
...
@@ -20,7 +20,7 @@
#include
"vtkObjectFactory.h"
#include
"vtkPointData.h"
vtkCxxRevisionMacro
(
vtkAssignAttribute
,
"1.
9
"
);
vtkCxxRevisionMacro
(
vtkAssignAttribute
,
"1.
10
"
);
vtkStandardNewMacro
(
vtkAssignAttribute
);
char
vtkAssignAttribute
::
AttributeLocationNames
[
2
][
12
]
...
...
@@ -178,9 +178,11 @@ void vtkAssignAttribute::Execute()
// This has to be here because it initialized all field datas.
output
->
CopyStructure
(
input
);
// Pass all. (data object's field data is passed by the
// superclass after this method)
if
(
output
->
GetFieldData
()
&&
input
->
GetFieldData
()
)
{
output
->
GetFieldData
()
->
PassData
(
input
->
GetFieldData
()
);
}
output
->
GetPointData
()
->
PassData
(
input
->
GetPointData
()
);
output
->
GetCellData
()
->
PassData
(
input
->
GetCellData
()
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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