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
Ben Boeckel
Xdmf
Commits
e56298af
Commit
e56298af
authored
Nov 28, 2008
by
Jerry Clarke
Browse files
fix subBlock
parent
73dfe12c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtk/vtkXdmfReader.cxx
View file @
e56298af
...
...
@@ -90,7 +90,7 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro
(
vtkXdmfReader
);
vtkCxxRevisionMacro
(
vtkXdmfReader
,
"1.
59
"
);
vtkCxxRevisionMacro
(
vtkXdmfReader
,
"1.
60
"
);
//----------------------------------------------------------------------------
vtkCxxSetObjectMacro
(
vtkXdmfReader
,
Controller
,
vtkMultiProcessController
);
...
...
@@ -2022,6 +2022,7 @@ int vtkXdmfReaderInternal::RequestGridData(
{
if
((
*
it
)
->
TimeIndex
==
timeIndex
){
int
hasUpdateExtent
,
childhasUpdateExtent
;
int
subBlock
=
isSubBlock
;
hasUpdateExtent
=
grid
->
GetInformation
()
->
Has
(
vtkStreamingDemandDrivenPipeline
::
UPDATE_EXTENT
());
childhasUpdateExtent
=
(
*
it
)
->
GetInformation
()
->
Has
(
vtkStreamingDemandDrivenPipeline
::
UPDATE_EXTENT
());
if
(
hasUpdateExtent
&&
(
!
childhasUpdateExtent
)){
...
...
@@ -2034,12 +2035,13 @@ int vtkXdmfReaderInternal::RequestGridData(
vtkStreamingDemandDrivenPipeline
::
UPDATE_NUMBER_OF_PIECES
());
(
*
it
)
->
GetInformation
()
->
CopyEntry
(
grid
->
GetInformation
(),
vtkStreamingDemandDrivenPipeline
::
UPDATE_NUMBER_OF_GHOST_LEVELS
());
subBlock
=
0
;
}
return
(
this
->
RequestGridData
(
(
*
it
),
output
,
timeIndex
,
1
,
subBlock
,
progressS
,
progressE
));
...
...
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