Commit 68c68639aef996de0957151b47e7d150e573300d
1 parent
7a674567
Exists in
master
and in
67 other branches
Adding the crosses on the overlay renderer instead of adding on the main
one. When using the cross tool, the slices may overlap the cross making it difficult to use. To avoid that I'm putting the cross in the overlay renderer instead of adding on the main one. The overlay renderer can be used to these case.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -1213,7 +1213,7 @@ class Viewer(wx.Panel): |
1213 | 1213 | self.SetInteractorStyle(const.STATE_DEFAULT) |
1214 | 1214 | |
1215 | 1215 | def __build_cross_lines(self, imagedata): |
1216 | - renderer = self.slice_data.renderer | |
1216 | + renderer = self.slice_data.overlay_renderer | |
1217 | 1217 | |
1218 | 1218 | cross = vtk.vtkCursor3D() |
1219 | 1219 | cross.AllOff() | ... | ... |