UI: Remove Blender Logo Alert Icon #117676

Merged
Harley Acheson merged 1 commits from Harley/blender:RemoveBlenderAlertIcon into main 2024-01-30 20:22:47 +01:00
6 changed files with 185 additions and 41 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,46 +1,186 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="320" height="64" viewBox="0 0 320 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;">
<rect id="bg" x="0" y="0" width="320" height="64" style="fill:#202020; display:none;"/>
<g id="grid" opacity="0.05" style="display:none;">
<rect x="262" y="6" width="52" height="52" style="fill:#fff;"/>
<rect x="198" y="6" width="52" height="52" style="fill:#fff;"/>
<rect x="134" y="6" width="52" height="52" style="fill:#fff;"/>
<rect x="70" y="6" width="52" height="52" style="fill:#fff;"/>
<rect x="6" y="6" width="52" height="52" style="fill:#fff;"/>
<svg
width="256"
height="64"
viewBox="0 0 256 64"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd"
id="svg20"
sodipodi:docname="alert_icons.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
inkscape:export-filename="alert_icons.png"
inkscape:export-xdpi="384"
inkscape:export-ydpi="384"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs20" /><sodipodi:namedview
id="namedview20"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="3.1002213"
inkscape:cx="160.14986"
inkscape:cy="32.094483"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg20" />
<rect
id="bg"
x="0"
y="0"
width="320"
height="64"
style="display:none;fill:#202020" />
<g
id="grid"
opacity="0.05"
style="display:none">
<rect
x="262"
y="6"
width="52"
height="52"
style="fill:#ffffff"
id="rect1" />
<rect
x="198"
y="6"
width="52"
height="52"
style="fill:#ffffff"
id="rect2" />
<rect
x="134"
y="6"
width="52"
height="52"
style="fill:#ffffff"
id="rect3" />
<rect
x="70"
y="6"
width="52"
height="52"
style="fill:#ffffff"
id="rect4" />
<rect
x="6"
y="6"
width="52"
height="52"
style="fill:#ffffff"
id="rect5" />
</g>
<g id="WARNING">
<path d="M37.212,10.038c-1.066,-1.878 -3.059,-3.038 -5.218,-3.038c-2.159,-0 -4.152,1.16 -5.218,3.038l-21,37c-1.054,1.858 -1.042,4.135 0.033,5.981c1.075,1.846 3.049,2.981 5.185,2.981l42,-0c2.136,0 4.11,-1.135 5.185,-2.981c1.075,-1.846 1.087,-4.123 0.033,-5.981l-21,-37Zm-2.609,1.481l21,37c0.527,0.929 0.521,2.068 -0.016,2.991c-0.538,0.922 -1.525,1.49 -2.593,1.49l-42,-0c-1.068,0 -2.055,-0.568 -2.593,-1.49c-0.537,-0.923 -0.543,-2.062 -0.016,-2.991c-0,0 21,-37 21,-37c0.533,-0.939 1.529,-1.519 2.609,-1.519c1.08,0 2.076,0.58 2.609,1.519Z" style="fill:#fff;"/>
<circle cx="32" cy="45.5" r="2.5" style="fill:#fff;"/>
<path d="M32,23c1.38,0 2.5,1.12 2.5,2.5l-1.5,14.5l-2,0l-1.5,-14.5c0,-1.38 1.12,-2.5 2.5,-2.5Z" style="fill:#fff;"/>
<g
id="WARNING">
<path
d="M 37.212,10.038 C 36.146,8.16 34.153,7 31.994,7 29.835,7 27.842,8.16 26.776,10.038 l -21,37 C 4.722,48.896 4.734,51.173 5.809,53.019 6.884,54.865 8.858,56 10.994,56 h 42 c 2.136,0 4.11,-1.135 5.185,-2.981 1.075,-1.846 1.087,-4.123 0.033,-5.981 z m -2.609,1.481 21,37 c 0.527,0.929 0.521,2.068 -0.016,2.991 C 55.049,52.432 54.062,53 52.994,53 h -42 C 9.926,53 8.939,52.432 8.401,51.51 7.864,50.587 7.858,49.448 8.385,48.519 c 0,0 21,-37 21,-37 C 29.918,10.58 30.914,10 31.994,10 c 1.08,0 2.076,0.58 2.609,1.519 z"
style="fill:#ffffff"
id="path5" />
<circle
cx="32"
cy="45.5"
r="2.5"
style="fill:#ffffff"
id="circle5" />
<path
d="m 32,23 c 1.38,0 2.5,1.12 2.5,2.5 L 33,40 H 31 L 29.5,25.5 C 29.5,24.12 30.62,23 32,23 Z"
style="fill:#ffffff"
id="path6" />
</g>
<g id="QUESTION">
<path d="M96,6c14.35,-0 26,11.65 26,26c-0,14.35 -11.65,26 -26,26c-14.35,-0 -26,-11.65 -26,-26c-0,-14.35 11.65,-26 26,-26Zm-0,3c12.694,-0 23,10.306 23,23c-0,12.694 -10.306,23 -23,23c-12.694,-0 -23,-10.306 -23,-23c-0,-12.694 10.306,-23 23,-23Z" style="fill:#fff;"/>
<circle cx="96" cy="44" r="3" style="fill:#fff;"/>
<path d="M90.549,23.479l-1.513,-3.293c-0.002,-0.011 3.28,-2.209 7.964,-2.186c3.557,0.018 5.213,1.34 5.855,1.849c1.185,0.939 2.131,2.714 2.131,5.105c-0,0.741 -0.095,1.683 -0.424,2.567c-0.292,0.787 -0.706,1.528 -1.226,2.142c-0.883,1.042 -2.347,2.273 -2.825,2.656c-0.477,0.382 -1.73,1.348 -2.411,2.341c-0.48,0.7 -0.6,1.743 -0.6,2.485l-0,0.855l-3.5,0l0,-1.236c0,-0.269 0.032,-2.339 0.716,-3.511c0.709,-1.212 1.371,-1.885 2.599,-2.906c1.204,-1.002 2.275,-1.967 2.841,-2.814c0.54,-0.81 0.637,-1.629 0.637,-2.399c0,-0.77 -0.167,-1.716 -1.036,-2.482c-0.797,-0.702 -2.36,-0.865 -3.257,-0.865c-1.083,-0 -1.867,0.158 -2.99,0.526c-1.448,0.475 -2.961,1.166 -2.961,1.166Z" style="fill:#fff;"/>
<g
id="QUESTION">
<path
d="m 96,6 c 14.35,0 26,11.65 26,26 0,14.35 -11.65,26 -26,26 C 81.65,58 70,46.35 70,32 70,17.65 81.65,6 96,6 Z m 0,3 c 12.694,0 23,10.306 23,23 0,12.694 -10.306,23 -23,23 C 83.306,55 73,44.694 73,32 73,19.306 83.306,9 96,9 Z"
style="fill:#ffffff"
id="path7" />
<circle
cx="96"
cy="44"
r="3"
style="fill:#ffffff"
id="circle7" />
<path
d="M 90.549,23.479 89.036,20.186 C 89.034,20.175 92.316,17.977 97,18 c 3.557,0.018 5.213,1.34 5.855,1.849 1.185,0.939 2.131,2.714 2.131,5.105 0,0.741 -0.095,1.683 -0.424,2.567 -0.292,0.787 -0.706,1.528 -1.226,2.142 -0.883,1.042 -2.347,2.273 -2.825,2.656 -0.477,0.382 -1.73,1.348 -2.411,2.341 -0.48,0.7 -0.6,1.743 -0.6,2.485 V 38 H 94 v -1.236 c 0,-0.269 0.032,-2.339 0.716,-3.511 0.709,-1.212 1.371,-1.885 2.599,-2.906 1.204,-1.002 2.275,-1.967 2.841,-2.814 0.54,-0.81 0.637,-1.629 0.637,-2.399 0,-0.77 -0.167,-1.716 -1.036,-2.482 -0.797,-0.702 -2.36,-0.865 -3.257,-0.865 -1.083,0 -1.867,0.158 -2.99,0.526 -1.448,0.475 -2.961,1.166 -2.961,1.166 z"
style="fill:#ffffff"
id="path8" />
</g>
<g id="ERROR">
<path d="M186,22.059c0,-0.531 -0.211,-1.039 -0.586,-1.414l-14.059,-14.059c-0.375,-0.375 -0.883,-0.586 -1.414,-0.586l-19.882,0c-0.531,0 -1.039,0.211 -1.414,0.586l-14.059,14.059c-0.375,0.375 -0.586,0.883 -0.586,1.414l-0,19.882c0,0.531 0.211,1.039 0.586,1.414l14.059,14.059c0.375,0.375 0.883,0.586 1.414,0.586l19.882,-0c0.531,-0 1.039,-0.211 1.414,-0.586l14.059,-14.059c0.375,-0.375 0.586,-0.883 0.586,-1.414l-0,-19.882Zm-3,0.828c0,-0.265 -0.105,-0.519 -0.293,-0.707l-12.887,-12.887c-0.188,-0.188 -0.442,-0.293 -0.707,-0.293l-18.226,0c-0.265,0 -0.519,0.105 -0.707,0.293l-12.887,12.887c-0.188,0.188 -0.293,0.442 -0.293,0.707l0,18.226c0,0.265 0.105,0.519 0.293,0.707l12.887,12.887c0.188,0.188 0.442,0.293 0.707,0.293l18.226,-0c0.265,0 0.519,-0.105 0.707,-0.293l12.887,-12.887c0.188,-0.188 0.293,-0.442 0.293,-0.707l0,-18.226Z" style="fill:#fff;"/>
<path d="M150.808,19.979c-0.391,-0.39 -1.024,-0.39 -1.415,0l-1.414,1.414c-0.39,0.391 -0.39,1.024 0,1.415l21.213,21.213c0.391,0.39 1.024,0.39 1.415,-0l1.414,-1.414c0.39,-0.391 0.39,-1.024 -0,-1.415l-21.213,-21.213Z" style="fill:#fff;"/>
<path d="M172.021,22.808c0.39,-0.391 0.39,-1.024 -0,-1.415l-1.414,-1.414c-0.391,-0.39 -1.024,-0.39 -1.415,0l-21.213,21.213c-0.39,0.391 -0.39,1.024 0,1.415l1.414,1.414c0.391,0.39 1.024,0.39 1.415,-0l21.213,-21.213Z" style="fill:#fff;"/>
<g
id="ERROR">
<path
d="m 186,22.059 c 0,-0.531 -0.211,-1.039 -0.586,-1.414 L 171.355,6.586 C 170.98,6.211 170.472,6 169.941,6 h -19.882 c -0.531,0 -1.039,0.211 -1.414,0.586 L 134.586,20.645 C 134.211,21.02 134,21.528 134,22.059 v 19.882 c 0,0.531 0.211,1.039 0.586,1.414 l 14.059,14.059 c 0.375,0.375 0.883,0.586 1.414,0.586 h 19.882 c 0.531,0 1.039,-0.211 1.414,-0.586 L 185.414,43.355 C 185.789,42.98 186,42.472 186,41.941 Z m -3,0.828 c 0,-0.265 -0.105,-0.519 -0.293,-0.707 L 169.82,9.293 C 169.632,9.105 169.378,9 169.113,9 h -18.226 c -0.265,0 -0.519,0.105 -0.707,0.293 L 137.293,22.18 C 137.105,22.368 137,22.622 137,22.887 v 18.226 c 0,0.265 0.105,0.519 0.293,0.707 l 12.887,12.887 c 0.188,0.188 0.442,0.293 0.707,0.293 h 18.226 c 0.265,0 0.519,-0.105 0.707,-0.293 L 182.707,41.82 C 182.895,41.632 183,41.378 183,41.113 Z"
style="fill:#ffffff"
id="path9" />
<path
d="m 150.808,19.979 c -0.391,-0.39 -1.024,-0.39 -1.415,0 l -1.414,1.414 c -0.39,0.391 -0.39,1.024 0,1.415 l 21.213,21.213 c 0.391,0.39 1.024,0.39 1.415,0 l 1.414,-1.414 c 0.39,-0.391 0.39,-1.024 0,-1.415 z"
style="fill:#ffffff"
id="path10" />
<path
d="m 172.021,22.808 c 0.39,-0.391 0.39,-1.024 0,-1.415 l -1.414,-1.414 c -0.391,-0.39 -1.024,-0.39 -1.415,0 l -21.213,21.213 c -0.39,0.391 -0.39,1.024 0,1.415 l 1.414,1.414 c 0.391,0.39 1.024,0.39 1.415,0 z"
style="fill:#ffffff"
id="path11" />
</g>
<g id="ERROR-ALT" style="display:none;">
<path d="M186,22.059c0,-0.531 -0.211,-1.039 -0.586,-1.414l-14.059,-14.059c-0.375,-0.375 -0.883,-0.586 -1.414,-0.586l-19.882,0c-0.531,0 -1.039,0.211 -1.414,0.586l-14.059,14.059c-0.375,0.375 -0.586,0.883 -0.586,1.414l-0,19.882c0,0.531 0.211,1.039 0.586,1.414l14.059,14.059c0.375,0.375 0.883,0.586 1.414,0.586l19.882,-0c0.531,-0 1.039,-0.211 1.414,-0.586l14.059,-14.059c0.375,-0.375 0.586,-0.883 0.586,-1.414l-0,-19.882Zm-3,0.828c0,-0.265 -0.105,-0.519 -0.293,-0.707l-12.887,-12.887c-0.188,-0.188 -0.442,-0.293 -0.707,-0.293l-18.226,0c-0.265,0 -0.519,0.105 -0.707,0.293l-12.887,12.887c-0.188,0.188 -0.293,0.442 -0.293,0.707l0,18.226c0,0.265 0.105,0.519 0.293,0.707l12.887,12.887c0.188,0.188 0.442,0.293 0.707,0.293l18.226,-0c0.265,0 0.519,-0.105 0.707,-0.293l12.887,-12.887c0.188,-0.188 0.293,-0.442 0.293,-0.707l0,-18.226Z" style="fill:#fff;"/>
<circle cx="160" cy="44" r="3" style="fill:#fff;"/>
<path d="M160,18c1.656,0 3,1.344 3,3l-2,16l-2,0l-2,-16c0,-1.656 1.344,-3 3,-3Z" style="fill:#fff;"/>
<g
id="ERROR-ALT"
style="display:none">
<path
d="m 186,22.059 c 0,-0.531 -0.211,-1.039 -0.586,-1.414 L 171.355,6.586 C 170.98,6.211 170.472,6 169.941,6 h -19.882 c -0.531,0 -1.039,0.211 -1.414,0.586 L 134.586,20.645 C 134.211,21.02 134,21.528 134,22.059 v 19.882 c 0,0.531 0.211,1.039 0.586,1.414 l 14.059,14.059 c 0.375,0.375 0.883,0.586 1.414,0.586 h 19.882 c 0.531,0 1.039,-0.211 1.414,-0.586 L 185.414,43.355 C 185.789,42.98 186,42.472 186,41.941 Z m -3,0.828 c 0,-0.265 -0.105,-0.519 -0.293,-0.707 L 169.82,9.293 C 169.632,9.105 169.378,9 169.113,9 h -18.226 c -0.265,0 -0.519,0.105 -0.707,0.293 L 137.293,22.18 C 137.105,22.368 137,22.622 137,22.887 v 18.226 c 0,0.265 0.105,0.519 0.293,0.707 l 12.887,12.887 c 0.188,0.188 0.442,0.293 0.707,0.293 h 18.226 c 0.265,0 0.519,-0.105 0.707,-0.293 L 182.707,41.82 C 182.895,41.632 183,41.378 183,41.113 Z"
style="fill:#ffffff"
id="path12" />
<circle
cx="160"
cy="44"
r="3"
style="fill:#ffffff"
id="circle12" />
<path
d="m 160,18 c 1.656,0 3,1.344 3,3 l -2,16 h -2 l -2,-16 c 0,-1.656 1.344,-3 3,-3 z"
style="fill:#ffffff"
id="path13" />
</g>
<g id="INFO">
<path d="M224,6c14.35,-0 26,11.65 26,26c-0,14.35 -11.65,26 -26,26c-14.35,-0 -26,-11.65 -26,-26c-0,-14.35 11.65,-26 26,-26Zm-0,3c12.694,-0 23,10.306 23,23c-0,12.694 -10.306,23 -23,23c-12.694,-0 -23,-10.306 -23,-23c-0,-12.694 10.306,-23 23,-23Z" style="fill:#fff;"/>
<path d="M217.675,29.977l0.232,-1.395c0,0 2.519,-1.582 5.587,-1.582c3.067,-0 4.005,1.542 4.005,3.758c0,3.17 -2.242,7.836 -2.242,10.262c-0,1.379 0.725,1.645 1.861,1.645c0.945,-0 1.921,-0.136 2.367,-0.57l-0.492,1.602c-0,-0 -2.626,1.303 -5.207,1.303c-3.241,0 -4.297,-1.5 -4.28,-3.758c0.018,-2.4 2.249,-7.276 2.249,-10.099c0,-1.734 -1.269,-1.641 -1.917,-1.641c-1.32,-0 -2.163,0.475 -2.163,0.475Z" style="fill:#fff;"/>
<ellipse cx="226.5" cy="21" rx="3.5" ry="3" style="fill:#fff;"/>
<g
id="INFO">
<path
d="m 224,6 c 14.35,0 26,11.65 26,26 0,14.35 -11.65,26 -26,26 -14.35,0 -26,-11.65 -26,-26 0,-14.35 11.65,-26 26,-26 z m 0,3 c 12.694,0 23,10.306 23,23 0,12.694 -10.306,23 -23,23 -12.694,0 -23,-10.306 -23,-23 0,-12.694 10.306,-23 23,-23 z"
style="fill:#ffffff"
id="path14" />
<path
d="m 217.675,29.977 0.232,-1.395 c 0,0 2.519,-1.582 5.587,-1.582 3.067,0 4.005,1.542 4.005,3.758 0,3.17 -2.242,7.836 -2.242,10.262 0,1.379 0.725,1.645 1.861,1.645 0.945,0 1.921,-0.136 2.367,-0.57 l -0.492,1.602 c 0,0 -2.626,1.303 -5.207,1.303 -3.241,0 -4.297,-1.5 -4.28,-3.758 0.018,-2.4 2.249,-7.276 2.249,-10.099 0,-1.734 -1.269,-1.641 -1.917,-1.641 -1.32,0 -2.163,0.475 -2.163,0.475 z"
style="fill:#ffffff"
id="path15" />
<ellipse
cx="226.5"
cy="21"
rx="3.5"
ry="3"
style="fill:#ffffff"
id="ellipse15" />
</g>
<g id="BLENDER">
<path d="M310.66,22.503l-18.849,-14.481c-1.34,-1.042 -3.719,-0.803 -4.899,0.315c-1.14,1.078 -1.095,2.428 0.265,3.486l7.609,6.177l-23.895,0c-1.805,0 -3.795,1.138 -4.224,2.835c-0.482,1.91 1.059,3.165 3.103,3.165l11.938,0l-21.565,16.506c-2.094,1.619 -2.827,4.19 -1.508,5.787c1.289,1.559 3.983,1.635 6.073,0.122l11.865,-9.71c-0.193,1.075 -0.219,2.327 -0.065,3.264c1.52,9.103 10.046,16.034 20.637,16.034c11.525,0 20.855,-8.55 20.855,-18.96c0.007,-5.892 -2.877,-11.109 -7.34,-14.54Zm-13.534,24.534c-7.022,0 -12.714,-5.181 -12.714,-11.515c-0,-6.337 5.692,-11.577 12.714,-11.577c7.022,-0 12.714,5.131 12.714,11.577c0,6.295 -5.692,11.515 -12.714,11.515Z" style="fill:#fff;fill-rule:nonzero;"/>
<path d="M297.391,27.766c-4.479,-0 -8.113,3.342 -8.113,7.383c-0,4.04 3.634,7.343 8.113,7.343c4.48,0 8.114,-3.303 8.114,-7.343c0,-4.041 -3.634,-7.383 -8.114,-7.383Z" style="fill:#fff;fill-rule:nonzero;"/>
</g>
<g id="BLENDER-COLOR" style="display:none;">
<path d="M297,21.75c-8.282,0 -15,6.205 -15,13.75c0,7.545 6.718,13.75 15,13.75c8.282,0 15,-6.205 15,-13.75c0,-7.545 -6.718,-13.75 -15,-13.75Z" style="fill:#fff;fill-rule:nonzero;"/>
<path d="M310.66,22.503l-18.849,-14.481c-1.34,-1.042 -3.719,-0.803 -4.899,0.315c-1.14,1.078 -1.095,2.428 0.265,3.486l7.609,6.177l-23.895,0c-1.805,0 -3.795,1.138 -4.224,2.835c-0.482,1.91 1.059,3.165 3.103,3.165l11.938,0l-21.565,16.506c-2.094,1.619 -2.827,4.19 -1.508,5.787c1.289,1.559 3.983,1.635 6.073,0.122l11.865,-9.71c-0.193,1.075 -0.219,2.327 -0.065,3.264c1.52,9.103 10.046,16.034 20.637,16.034c11.525,0 20.855,-8.55 20.855,-18.96c0.007,-5.892 -2.877,-11.109 -7.34,-14.54Zm-13.534,24.534c-7.022,0 -12.714,-5.181 -12.714,-11.515c-0,-6.337 5.692,-11.577 12.714,-11.577c7.022,-0 12.714,5.131 12.714,11.577c0,6.295 -5.692,11.515 -12.714,11.515Z" style="fill:#e87d0d;fill-rule:nonzero;"/>
<path d="M297.391,27.766c-4.479,-0 -8.113,3.342 -8.113,7.383c-0,4.04 3.634,7.343 8.113,7.343c4.48,0 8.114,-3.303 8.114,-7.343c0,-4.041 -3.634,-7.383 -8.114,-7.383Z" style="fill:#265787;fill-rule:nonzero;"/>
<g
id="BLENDER-COLOR"
style="display:none">
<path
d="m 297,21.75 c -8.282,0 -15,6.205 -15,13.75 0,7.545 6.718,13.75 15,13.75 8.282,0 15,-6.205 15,-13.75 0,-7.545 -6.718,-13.75 -15,-13.75 z"
style="fill:#ffffff;fill-rule:nonzero"
id="path18" />
<path
d="M 310.66,22.503 291.811,8.022 c -1.34,-1.042 -3.719,-0.803 -4.899,0.315 -1.14,1.078 -1.095,2.428 0.265,3.486 L 294.786,18 h -23.895 c -1.805,0 -3.795,1.138 -4.224,2.835 -0.482,1.91 1.059,3.165 3.103,3.165 h 11.938 l -21.565,16.506 c -2.094,1.619 -2.827,4.19 -1.508,5.787 1.289,1.559 3.983,1.635 6.073,0.122 l 11.865,-9.71 c -0.193,1.075 -0.219,2.327 -0.065,3.264 1.52,9.103 10.046,16.034 20.637,16.034 11.525,0 20.855,-8.55 20.855,-18.96 0.007,-5.892 -2.877,-11.109 -7.34,-14.54 z m -13.534,24.534 c -7.022,0 -12.714,-5.181 -12.714,-11.515 0,-6.337 5.692,-11.577 12.714,-11.577 7.022,0 12.714,5.131 12.714,11.577 0,6.295 -5.692,11.515 -12.714,11.515 z"
style="fill:#e87d0d;fill-rule:nonzero"
id="path19" />
<path
d="m 297.391,27.766 c -4.479,0 -8.113,3.342 -8.113,7.383 0,4.04 3.634,7.343 8.113,7.343 4.48,0 8.114,-3.303 8.114,-7.343 0,-4.041 -3.634,-7.383 -8.114,-7.383 z"
style="fill:#265787;fill-rule:nonzero"
id="path20" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -50,7 +50,6 @@ enum eAlertIcon {
ALERT_ICON_QUESTION = 1,
ALERT_ICON_ERROR = 2,
ALERT_ICON_INFO = 3,
ALERT_ICON_BLENDER = 4,
ALERT_ICON_MAX,
};

View File

@ -4861,8 +4861,11 @@ uiBut *uiDefButImage(
uiBut *uiDefButAlert(uiBlock *block, int icon, int x, int y, short width, short height)
{
ImBuf *ibuf = UI_icon_alert_imbuf_get((eAlertIcon)icon);
bTheme *btheme = UI_GetTheme();
return uiDefButImage(block, ibuf, x, y, width, height, btheme->tui.wcol_menu_back.text);
if (ibuf) {
bTheme *btheme = UI_GetTheme();
return uiDefButImage(block, ibuf, x, y, width, height, btheme->tui.wcol_menu_back.text);
}
return nullptr;
}
/**

View File

@ -2584,6 +2584,9 @@ ImBuf *UI_icon_alert_imbuf_get(eAlertIcon icon)
UNUSED_VARS(icon);
return nullptr;
#else
if (icon == ALERT_ICON_NONE) {
return nullptr;
}
const int ALERT_IMG_SIZE = 256;
icon = eAlertIcon(std::min<int>(icon, ALERT_ICON_MAX - 1));
const int left = icon * ALERT_IMG_SIZE;

View File

@ -806,7 +806,6 @@ const EnumPropertyItem rna_operator_popup_icon_items[] = {
{ALERT_ICON_QUESTION, "QUESTION", 0, "Question", ""},
{ALERT_ICON_ERROR, "ERROR", 0, "Error", ""},
{ALERT_ICON_INFO, "INFO", 0, "Info", ""},
{ALERT_ICON_BLENDER, "BLENDER", 0, "Blender", ""},
{0, nullptr, 0, nullptr, nullptr},
};