Commit 7498294507ed0b58b0e4bec8e53ce0a1a6e9dd38

Authored by tatiana
1 parent 579b78ed

FIX: Text on slice for representing orientation

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
invesalius/data/viewer_slice.py
@@ -399,10 +399,10 @@ class Viewer(wx.Panel): @@ -399,10 +399,10 @@ class Viewer(wx.Panel):
399 if self.orientation == 'AXIAL': 399 if self.orientation == 'AXIAL':
400 values = ['R', 'L', 'A', 'P'] 400 values = ['R', 'L', 'A', 'P']
401 elif self.orientation == 'SAGITAL': 401 elif self.orientation == 'SAGITAL':
402 - values = ['R', 'L', 'T', 'B']  
403 - else:  
404 values = ['P', 'A', 'T', 'B'] 402 values = ['P', 'A', 'T', 'B']
405 - 403 + else:
  404 + values = ['R', 'L', 'T', 'B']
  405 +
406 left_text = vtku.Text() 406 left_text = vtku.Text()
407 left_text.ShadowOff() 407 left_text.ShadowOff()
408 left_text.SetColour(colour) 408 left_text.SetColour(colour)