Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BUG: Display effect-specific cursor in viewers for Threshold effect
Originally, Threshold effect did not have any view interaction, therefore the default cursor was displayed in views. Since now threshold range can be specified by a click-and-dragging in a view, it is more appropriate to show the effect's icon as cursor.
  • Loading branch information
lassoan committed May 11, 2021
1 parent 21e6ce4 commit 5b02b00
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -377,10 +377,6 @@ def setupOptionsFrame(self):
self.setAutoThresholdButton.connect('clicked()', self.onAutoThreshold)
self.applyButton.connect('clicked()', self.onApply)

def createCursor(self, widget):
# Turn off effect-specific cursor for this effect
return slicer.util.mainWindow().cursor

def masterVolumeNodeChanged(self):
# Set scalar range of master volume image data to threshold slider
import vtkSegmentationCorePython as vtkSegmentationCore
Expand Down

0 comments on commit 5b02b00

Please sign in to comment.