From c16f677bf0a7f03e9c1cea597c79581a7bfae96e Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Thu, 2 Jan 2020 19:32:09 +0100 Subject: [PATCH] make a new xray error image includes SVG source file --- plugins/SolidView/SolidView.py | 2 +- resources/images/xray_error.png | Bin 0 -> 1092 bytes resources/images/xray_error.svg | 136 ++++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+), 1 deletion(-) create mode 100644 resources/images/xray_error.png create mode 100644 resources/images/xray_error.svg diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index 94aa648197..3770939cc7 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -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: diff --git a/resources/images/xray_error.png b/resources/images/xray_error.png new file mode 100644 index 0000000000000000000000000000000000000000..3709613a71df753fee58c59ba7f10860206dbf7f GIT binary patch literal 1092 zcmV-K1iSl*P)BD3&+RCR4SE5qnVkSntl3ItJNx%%10g#6&7w7&}wOJ?t|Q1 z0H0M=(e2xG=T6ndivX-v>&n6c>2wWmi{m@!f~8V zr(2ktqr-=Zu{8i=bm)+GVL`9ga~$`;?WWSwkO94Z#p}(^&Ia&BT^-%Lx%zz_z!>%Q z)z#Jl$jr=K7DbAT3=L>%>gwzSkdTn@doV~zNpA%b5}r#^Qc@Ct?yfFsYzzTNPX0}j z;^X51eAC-YSFZe9dJ|xb>g#)ZdH}@6#y*oI+Pn8%z`#IFbu|Es#j>)vNZYo(1JLPK z=I3*AasYf@Q$x3I{U?x{J2yM4)9E;ldpJ5ur%tV@$^wj0aq%OMN2ye5wc4L%X6WeA zw*VYRn}@DTs>%_xPDK&-DRgw11NAh>G5MyD&>Il=ZEg!2M`$< z>GOK&;KB8)=WwiE6%NPx(t!g3Q8X9~00!^fql$_*fbH8~`TgnX=>WcLZl)VIWOi46 zK8Yd;0@>{{)y~f5rX~PsX=#5hEzyo0Yk{j*+pb*$kdl(}LXs#hPUaVaV6j+uo+qzY zrWzCTha{z@rULk?t&Lh+Ujz2-`(9$<{Bt6c*F z0HUIze)jt*E$tuR?%m1@7XW;C(6gZtUJPbx; zFc`vksf8Q{gMkq-GMQ+4dgCi2lhe~=GAU>)CjVN5^Z5OL0)GMJHzjw8bzd|90000< KMNUMnLSTYHe*z2u literal 0 HcmV?d00001 diff --git a/resources/images/xray_error.svg b/resources/images/xray_error.svg new file mode 100644 index 0000000000..fdaed96df9 --- /dev/null +++ b/resources/images/xray_error.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + +