make a new xray error image

includes SVG source file
This commit is contained in:
Tim Kuipers 2020-01-02 19:32:09 +01:00
parent 28abf6ff8c
commit c16f677bf0
3 changed files with 137 additions and 1 deletions

View file

@ -121,7 +121,7 @@ class SolidView(View):
if not self._xray_error_image:
self._xray_error_image = OpenGL.getInstance().createTexture()
texture_file = "cura-icon-32.png" #TODO make an img for this!
texture_file = "xray_error.png"
try:
self._xray_error_image.load(Resources.getPath(Resources.Images, texture_file))
except FileNotFoundError: