Commit 7f8f82ae4ea1e7dbce3028be33ef112ba4f1ee31
1 parent
3b44f50b
Exists in
master
and in
6 other branches
FIX: Slice position number under Win
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
invesalius/data/slice_.py
... | ... | @@ -120,13 +120,13 @@ class Slice(object): |
120 | 120 | blend_imagedata.GetOutput().ReleaseDataFlagOn() |
121 | 121 | #self.blend_imagedata = blend_imagedata |
122 | 122 | |
123 | - | |
124 | - #blend_imagedata.GetExtent() | |
123 | + #blend_imagedata.Update() | |
124 | + #extent = blend_imagedata.GetOutput().GetWholeExtent() | |
125 | 125 | |
126 | 126 | # global values |
127 | - CURSOR_X = 0 # SAGITAL | |
128 | - CURSOR_Y = 0 # CORONAL | |
129 | - CURSOR_Z = 0 # AXIAL | |
127 | + CURSOR_X = -1 # SAGITAL | |
128 | + CURSOR_Y = -1 # CORONAL | |
129 | + CURSOR_Z = -1 # AXIAL | |
130 | 130 | |
131 | 131 | CURSOR_VALUE = 4095 |
132 | 132 | CURSOR_RADIUS = 1000 | ... | ... |