mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Use right enum
This commit is contained in:
parent
d240feb78a
commit
5aceec6209
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ class SolidView(View):
|
|||
self._next_xray_checking_time = time.time() + self._xray_checking_update_time
|
||||
|
||||
xray_img = self._xray_pass.getOutput()
|
||||
xray_img = xray_img.convertToFormat(QImage.Format_RGB888)
|
||||
xray_img = xray_img.convertToFormat(QImage.Format.Format_RGB888)
|
||||
|
||||
# We can't just read the image since the pixels are aligned to internal memory positions.
|
||||
# xray_img.byteCount() != xray_img.width() * xray_img.height() * 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue