Commit cc2c99a6188aecdd662aaa567ce10137ad64fe08
1 parent
28e7e30b
Exists in
master
and in
68 other branches
FIX: Open angular measure from inv3
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
invesalius/data/measures.py
... | ... | @@ -39,24 +39,18 @@ class MeasurementManager(object): |
39 | 39 | |
40 | 40 | |
41 | 41 | def _load_measurements(self, pubsub_evt): |
42 | - print "_load_measurements" | |
43 | 42 | dict = pubsub_evt.data |
44 | 43 | for i in dict: |
45 | 44 | m = dict[i] |
46 | - print "m:", m.name | |
47 | 45 | if m.type == const.LINEAR: |
48 | - print "linear" | |
49 | 46 | mr = LinearMeasure(m.colour) |
50 | 47 | else: |
51 | - print "angular" | |
52 | 48 | mr = AngularMeasure(m.colour) |
53 | 49 | self.current = (m, mr) |
54 | 50 | self.measures.append(self.current) |
55 | 51 | for point in m.points: |
56 | - print "point:", point | |
57 | 52 | x, y, z = point |
58 | 53 | actors = mr.AddPoint(x, y, z) |
59 | - print "actors:", actors | |
60 | 54 | ps.Publisher().sendMessage(("Add actors", m.location), |
61 | 55 | (actors, m.slice_number)) |
62 | 56 | self.current = None |
... | ... | @@ -99,7 +93,6 @@ class MeasurementManager(object): |
99 | 93 | x, y, z = position |
100 | 94 | actors = self.current[1].AddPoint(x, y, z) |
101 | 95 | self.current[0].points.append(position) |
102 | - print "--- actors", actors | |
103 | 96 | ps.Publisher().sendMessage(("Add actors", location), |
104 | 97 | (actors, self.current[0].slice_number)) |
105 | 98 | ... | ... |