diff options
author | Tim Kuipers <t.kuipers@ultimaker.com> | 2019-03-22 13:22:30 +0300 |
---|---|---|
committer | Tim Kuipers <t.kuipers@ultimaker.com> | 2019-03-22 13:22:30 +0300 |
commit | 709321fc0ca8f9ee63c0b09d584f03150957ce5c (patch) | |
tree | b6ac2be1edb584b2e87fe174f53a2c691ba4cbb2 /plugins/ImageReader | |
parent | 9a5b7e7925717015c6522589483c2acd7cafc614 (diff) |
Change image import options for standard lithophanes
Diffstat (limited to 'plugins/ImageReader')
-rw-r--r-- | plugins/ImageReader/ConfigUI.qml | 4 | ||||
-rw-r--r-- | plugins/ImageReader/ImageReaderUI.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ImageReader/ConfigUI.qml b/plugins/ImageReader/ConfigUI.qml index b9ff2e4453..87e155846b 100644 --- a/plugins/ImageReader/ConfigUI.qml +++ b/plugins/ImageReader/ConfigUI.qml @@ -123,7 +123,7 @@ UM.Dialog UM.TooltipArea { Layout.fillWidth:true height: childrenRect.height - text: catalog.i18nc("@info:tooltip","By default, white pixels represent high points on the mesh and black pixels represent low points on the mesh. Change this option to reverse the behavior such that black pixels represent high points on the mesh and white pixels represent low points on the mesh.") + text: catalog.i18nc("@info:tooltip","By default, black pixels represent high points on the mesh and white pixels represent low points on the mesh. Change this option to reverse the behavior such that white pixels represent high points on the mesh and black pixels represent low points on the mesh. ") Row { width: parent.width @@ -136,7 +136,7 @@ UM.Dialog ComboBox { id: image_color_invert objectName: "Image_Color_Invert" - model: [ catalog.i18nc("@item:inlistbox","Lighter is higher"), catalog.i18nc("@item:inlistbox","Darker is higher") ] + model: [ catalog.i18nc("@item:inlistbox","Darker is higher"), catalog.i18nc("@item:inlistbox","Lighter is higher") ] width: 180 * screenScaleFactor onCurrentIndexChanged: { manager.onImageColorInvertChanged(currentIndex) } } diff --git a/plugins/ImageReader/ImageReaderUI.py b/plugins/ImageReader/ImageReaderUI.py index cb45afa4ad..ab5ec239ba 100644 --- a/plugins/ImageReader/ImageReaderUI.py +++ b/plugins/ImageReader/ImageReaderUI.py @@ -30,10 +30,10 @@ class ImageReaderUI(QObject): self._width = self.default_width self._depth = self.default_depth - self.base_height = 1 - self.peak_height = 10 + self.base_height = 0.4 + self.peak_height = 2.5 self.smoothing = 1 - self.image_color_invert = False; + self.image_color_invert = True; self._ui_lock = threading.Lock() self._cancelled = False |