Commit 985da2aaab79bccb9f1f4f7257fc743c3b74f06e

Authored by Paulo Henrique Junqueira Amorim
1 parent 1193e5cf

FIX: fixed bug gradient editor initial value incorrect

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/data/mask.py
... ... @@ -11,6 +11,6 @@ class Mask():
11 11 self.opacity = const.MASK_OPACITY
12 12 self.threshold_range = const.THRESHOLD_RANGE
13 13 self.name = const.MASK_NAME_PATTERN %(Mask.general_index+1)
14   - self.edition_threshold_range = const.THRESHOLD_RANGE
  14 + self.edition_threshold_range = [const.THRESHOLD_OUTVALUE, const.THRESHOLD_INVALUE]
15 15 self.is_shown = 1
16 16 - self.edited_points = {}
  17 + self.edited_points = {}
17 18 \ No newline at end of file
... ...