Commit fa77b6dc63565bd06d7bfd579f30f90545cfdaf7

Authored by Thiago Franco de Moraes
1 parent 27a57afe
Exists in canvas_reeng

Using double coordinates on 2d measures on canvas

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/data/measures.py
... ... @@ -835,7 +835,8 @@ class AngularMeasure(object):
835 835 points = []
836 836 for p in self.points:
837 837 coord.SetValue(p)
838   - cx, cy = coord.GetComputedDisplayValue(canvas.evt_renderer)
  838 + cx, cy = coord.GetComputedDoubleDisplayValue(canvas.evt_renderer)
  839 + print cx, cy
839 840 # canvas.draw_circle((cx, cy), 2.5)
840 841 points.append((cx, cy))
841 842  
... ...