Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan Lipsa
VTK
Commits
84d5a88f
Commit
84d5a88f
authored
3 years ago
by
Dan Lipsa
Browse files
Options
Downloads
Patches
Plain Diff
Insure right file is open.
vtkFileSeriesReader does not call RequestDataObject for every time step.
parent
7ba8d25f
No related branches found
No related tags found
No related merge requests found
Pipeline
#233495
running
3 years ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
IO/HDF/vtkHDFReader.cxx
+11
-0
11 additions, 0 deletions
IO/HDF/vtkHDFReader.cxx
with
11 additions
and
0 deletions
IO/HDF/vtkHDFReader.cxx
+
11
−
0
View file @
84d5a88f
...
...
@@ -277,6 +277,17 @@ int vtkHDFReader::RequestDataObject(vtkInformation*, vtkInformationVector** vtkN
int
vtkHDFReader
::
RequestInformation
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
vtkNotUsed
(
inputVector
),
vtkInformationVector
*
outputVector
)
{
if
(
!
this
->
FileName
)
{
vtkErrorMacro
(
"Requires valid input file name"
);
return
0
;
}
// Insures a new file is open. This happen for vtkFileSeriesReader
// which does not call RequestDataObject for every time step.
if
(
!
this
->
Impl
->
Open
(
this
->
FileName
))
{
return
0
;
}
vtkInformation
*
outInfo
=
outputVector
->
GetInformationObject
(
0
);
if
(
!
outInfo
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment