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
99d78f3f
Commit
99d78f3f
authored
Feb 22, 2008
by
Utkarsh Ayachit
⛰
Browse files
BUG: DONT_PRUNE is propagated down the pipeline, hence make sure we remove the
flags if already present.
parent
9519226c
Changes
1
Show whitespace changes
Inline
Side-by-side
Graphics/vtkExtractBlock.cxx
View file @
99d78f3f
...
...
@@ -30,7 +30,7 @@ class vtkExtractBlock::vtkSet : public vtkstd::set<unsigned int>
};
vtkStandardNewMacro
(
vtkExtractBlock
);
vtkCxxRevisionMacro
(
vtkExtractBlock
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkExtractBlock
,
"1.
3
"
);
vtkInformationKeyMacro
(
vtkExtractBlock
,
DONT_PRUNE
,
Integer
);
//----------------------------------------------------------------------------
vtkExtractBlock
::
vtkExtractBlock
()
...
...
@@ -151,6 +151,10 @@ int vtkExtractBlock::RequestData(
{
iter
->
GetCurrentMetaData
()
->
Set
(
DONT_PRUNE
(),
1
);
}
else
if
(
iter
->
HasCurrentMetaData
()
&&
iter
->
GetCurrentMetaData
()
->
Has
(
DONT_PRUNE
()))
{
iter
->
GetCurrentMetaData
()
->
Remove
(
DONT_PRUNE
());
}
}
iter
->
Delete
();
...
...
Write
Preview
Supports
Markdown
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