Commit 77e78c23b3711dfa29ecc0c306bf64d0612e5030

Authored by tatiana
1 parent 01ada1e7

ENH: Adding to viewers measures read from inv3

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
invesalius/data/measures.py
@@ -39,7 +39,6 @@ class MeasurementManager(object): @@ -39,7 +39,6 @@ class MeasurementManager(object):
39 39
40 40
41 def _load_measurements(self, pubsub_evt): 41 def _load_measurements(self, pubsub_evt):
42 - print "_load_measurements"  
43 dict = pubsub_evt.data 42 dict = pubsub_evt.data
44 for i in dict: 43 for i in dict:
45 m = dict[i] 44 m = dict[i]
@@ -49,15 +48,11 @@ class MeasurementManager(object): @@ -49,15 +48,11 @@ class MeasurementManager(object):
49 mr = AngularMeasure(m.colour) 48 mr = AngularMeasure(m.colour)
50 self.current = (m, mr) 49 self.current = (m, mr)
51 self.measures.append(self.current) 50 self.measures.append(self.current)
52 - print "m.index", m.index  
53 - print "m.points", m.points  
54 for point in m.points: 51 for point in m.points:
55 - print "-- point", point  
56 x, y, z = point 52 x, y, z = point
57 actors = mr.AddPoint(x, y, z) 53 actors = mr.AddPoint(x, y, z)
58 ps.Publisher().sendMessage(("Add actors", m.location), 54 ps.Publisher().sendMessage(("Add actors", m.location),
59 (actors, m.slice_number)) 55 (actors, m.slice_number))
60 - print "----"  
61 56
62 57
63 def _add_point(self, pubsub_evt): 58 def _add_point(self, pubsub_evt):