Commit b90e16c53e07f7d1c13734163ffa6a8334a610f0

Authored by tatiana
1 parent 4e80f1ec

EHN: Measurement random colour

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/measures.py
... ... @@ -22,7 +22,7 @@ class Measurement():
22 22 general_index = -1
23 23 def __init__(self):
24 24 Measurement.general_index += 1
25   - self.index = Surface.general_index
  25 + self.index = Measurement.general_index
26 26 self.name = const.MEASURE_NAME_PATTERN %(self.index+1)
27 27 self.colour = const.DEFAULT_MEASURE_COLOUR
28 28 self.value = None
... ...