mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
fix color inversion and make variable naming descriptive
This commit is contained in:
parent
bdf102ea64
commit
32d79451cc
3 changed files with 7 additions and 7 deletions
|
|
@ -33,7 +33,7 @@ class ImageReaderUI(QObject):
|
|||
self.base_height = 0.4
|
||||
self.peak_height = 2.5
|
||||
self.smoothing = 1
|
||||
self.image_color_invert = True;
|
||||
self.lighter_is_higher = False;
|
||||
|
||||
self._ui_lock = threading.Lock()
|
||||
self._cancelled = False
|
||||
|
|
@ -143,4 +143,4 @@ class ImageReaderUI(QObject):
|
|||
|
||||
@pyqtSlot(int)
|
||||
def onImageColorInvertChanged(self, value):
|
||||
self.image_color_invert = (value == 1)
|
||||
self.lighter_is_higher = (value == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue