Skip to content

Commit

Permalink
Enable only eSPL array by default
Browse files Browse the repository at this point in the history
  • Loading branch information
unkaktus committed Feb 19, 2023
1 parent 7048048 commit 0a6f93a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/EnergyFluxVolumeReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,13 @@ def __init__(self):
self.component_selection = vtkDataArraySelection()
self.component_selection.AddArray(EnergyFluxLog10ArrayName)
self.component_selection.AddArray(ESPLArrayName)
self.component_selection.DisableAllArrays()
self.component_selection.AddObserver(
"ModifiedEvent", create_modified_callback(self)
)

self.component_selection.EnableArray(ESPLArrayName)


@smproperty.stringvector(name="FileName")
@smdomain.filelist()
Expand Down

0 comments on commit 0a6f93a

Please sign in to comment.