Skip to content

Commit

Permalink
Fix move marker mouse mode when tilted slab volume shown. Bug #15420
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgoddard committed Jun 12, 2024
1 parent 800b2a1 commit 7b0b5c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bundles/markers/src/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ def _exclude_transparent_surfaces(drawing):
any_opaque, any_transparent = drawing._transparency()
if any_transparent:
return True
from chimerax.map import Volume
if isinstance(drawing, Volume) and drawing.image_shown and drawing.image_model().showing_transparent():
return True
return False

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 7b0b5c7

Please sign in to comment.