Skip to content

Commit

Permalink
ENH: added support for ScalarVolume inheritant
Browse files Browse the repository at this point in the history
Before that it was impossible to choose ScalarVolume derived as IO node.
[There was a discoussion on thath](https://discourse.slicer.org/t/simple-filters-node-selector-doesnt-accept-scalar-volume-child-nodes/22571)
  • Loading branch information
kerim371 committed Mar 18, 2022
1 parent 92e8db0 commit 2802284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SimpleFilters/SimpleFilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ def create(self, json):
self.outputSelector.renameEnabled = True
self.outputSelector.noneEnabled = False
self.outputSelector.showHidden = False
self.outputSelector.showChildNodeTypes = False
self.outputSelector.showChildNodeTypes = True
self.outputSelector.baseName = json["name"]+" Output"
self.outputSelector.setMRMLScene( slicer.mrmlScene )
self.outputSelector.setToolTip( "Pick the output to the algorithm." )
Expand Down Expand Up @@ -890,7 +890,7 @@ def createInputWidget(self,n, noneEnabled=False):
inputSelector.removeEnabled = False
inputSelector.noneEnabled = noneEnabled
inputSelector.showHidden = False
inputSelector.showChildNodeTypes = False
inputSelector.showChildNodeTypes = True
inputSelector.setMRMLScene( slicer.mrmlScene )
inputSelector.setToolTip( "Pick the input to the algorithm." )

Expand Down

0 comments on commit 2802284

Please sign in to comment.