UI: Add new Download icon and use it for assets

Add a new generic icon for downloads: `DOWNLOAD`, and use it for the
"Download Asset(s)" operators.

Little easter egg: the design is based on the old Blender Cloud logo :)

See !159300 for screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/159300
This commit is contained in:
Pablo Vazquez 2026-05-29 17:38:15 +02:00 • committed by Pablo Vazquez
parent 2047f4966d
commit 35f2ed44d6
5 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="1600"
viewBox="0 0 1600 1600"
width="1600"
version="1.1"
id="svg3"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<g
fill="#fff"
id="g3">
<path
id="path4"
style="baseline-shift:baseline;display:inline;overflow:visible;opacity:1;vector-effect:none;stroke-linejoin:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
d="m 808.67773,100.68555 c -97.64227,0 -187.204,38.19226 -258.12695,109.75195 -89.8502,90.65745 -126.25623,217.07359 -97.31445,338.9668 17.95599,67.21119 46.76367,104.57951 91.95752,136.92382 67.52303,48.32484 116.59331,-35.5705 66.59889,-76.75683 C 578.979,582.53872 560.24861,554.28629 541.93555,507.8125 521.90192,392.7751 588.98491,269.30329 699.9375,218.69727 c 69.56358,-31.72753 164.15675,-28.66293 236.63867,8.31445 27.67578,14.11921 59.67183,43.4164 85.26953,76.7832 25.5977,33.36681 44.8999,71.09086 50.1719,99.46485 3.3753,18.16805 11.8316,34.66465 27.7851,43.73632 15.9535,9.07167 35.882,11.78373 65.0469,13.70118 99.4254,6.52906 188.5084,79.47409 224.8223,186.57421 11.3179,33.45977 12.6814,46.09999 10.3281,96.42188 -2.4292,51.88562 -4.6662,61.88014 -22.6562,99.63281 -37.012,77.66692 -109.3149,140.98469 -189.0797,150.72393 -56.6922,6.922 -71.9063,6.4933 -88.2641,5.9499 0.3449,32.1386 0,68.2178 0,100 6.0156,0.3658 59.3116,0 105.9336,-10.3047 201.2944,-42.45 331.57,-250.36839 281.0293,-448.81249 -35.763,-140.42766 -152.0407,-249.81961 -291.2676,-273.27929 l -37.7461,-6.36133 -8.0527,-23.69336 C 1103.4345,200.85319 958.43016,100.68555 808.67773,100.68555 Z M 225.24779,442.04346 C 180.61405,483.87895 71.137477,611.90544 107.459,799.92967 134.67599,940.82881 249.74464,1059.1375 389.11525,1089.3184 h 0.0293 C 444.68309,1098.7071 540.68307,1099.6239 600,1100 v -100 c -65.31186,-0.30078 -156.12619,2.1955 -190.94729,-4.99105 C 300.54703,972.76982 189.81684,868.77215 188.30151,731.53906 188.36571,653.74493 222.12862,544.57145 300,500 361.81682,460.4534 288.38732,382.86237 225.24779,442.04346 Z" />
<path
d="M 800,848.19669 V 1328.6088 L 685.352,1213.9603 c -47.126,-49.0506 -119.754,23.5768 -70.704,70.7032 l 195.704,195.7031 c 27.88799,35.4789 64.85585,15.243 79.696,-0.39 l 195.313,-195.3125 c 49.05,-47.1264 -23.578,-119.7538 -70.704,-70.7032 L 900,1328.6088 V 848.19669 c 0,-66.3576 -99.993,-64.3036 -100,0 z"
opacity="1"
id="path1"
style="opacity:1;stroke-width:100" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -920,7 +920,7 @@ class ASSETBROWSER_MT_context_menu(AssetBrowserMenu, Menu):
params = st.params
if bpy.ops.asset.assets_download.poll():
layout.operator("asset.assets_download")
layout.operator("asset.assets_download", icon='DOWNLOAD')
layout.separator()
layout.operator("asset.library_refresh", icon='FILE_REFRESH')

View file

@ -304,7 +304,7 @@ void AssetViewItem::build_context_menu(bContext &C, ui::Layout &column) const
bool has_items = false;
if (asset_.needs_download()) {
column.op("asset.assets_download", IFACE_("Download Asset"), ICON_NONE);
column.op("asset.assets_download", IFACE_("Download Asset"), ICON_DOWNLOAD);
has_items = true;
}

View file

@ -324,6 +324,7 @@ if(WITH_BLENDER)
documents
dot
downarrow_hlt
download
driver
driver_distance
driver_rotational_difference

View file

@ -761,6 +761,7 @@ DEF_ICON(DESKTOP)
DEF_ICON(DISC)
DEF_ICON(DISK_DRIVE)
DEF_ICON(DOCUMENTS)
DEF_ICON(DOWNLOAD)
DEF_ICON(EXPORT)
DEF_ICON(EXTERNAL_DRIVE)
DEF_ICON(USB_DRIVE)