Skip to content

Commit

Permalink
Merge pull request #861 from lukatolo/minor-stylus-fix
Browse files Browse the repository at this point in the history
Minor stylus fix
  • Loading branch information
rmatsuda authored Oct 24, 2024
2 parents cd7740f + 0546a81 commit c6655cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added icons/stylus_eye.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion invesalius/data/visualization/probe_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def AddProbeActor(self, probe_path):
probe_actor.GetProperty().SetAmbientColor(vtk_colors.GetColor3d("GhostWhite"))
probe_actor.GetProperty().SetSpecular(30)
probe_actor.GetProperty().SetSpecularPower(80)
probe_actor.GetProperty().SetOpacity(0.4)
probe_actor.GetProperty().SetOpacity(1.0)
probe_actor.SetVisibility(0)

self.probe_actor = probe_actor
Expand Down
2 changes: 1 addition & 1 deletion invesalius/gui/task_navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ def __init__(self, parent, nav_hub):
# Toggle button for showing probe during navigation
tooltip = _("Show probe")
BMP_SHOW_PROBE = wx.Bitmap(
str(inv_paths.ICON_DIR.joinpath("stylus.png")), wx.BITMAP_TYPE_PNG
str(inv_paths.ICON_DIR.joinpath("stylus_eye.png")), wx.BITMAP_TYPE_PNG
)
show_probe_button = wx.ToggleButton(
self, -1, "", style=pbtn.PB_STYLE_SQUARE, size=ICON_SIZE
Expand Down

0 comments on commit c6655cd

Please sign in to comment.