From 9bc54cf0b565ed2af8ff507a9f8be20601ebd303 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Mon, 8 Jan 2024 14:05:22 -0800 Subject: [PATCH] Using monochrome icon. --- release/datafiles/blender_icons.svg | 45 +++++++++++++++++- .../blender_icons16/icon16_record_off.dat | Bin 0 -> 1048 bytes .../blender_icons16/icon16_record_on.dat | Bin 0 -> 1048 bytes .../blender_icons32/icon32_record_off.dat | Bin 0 -> 4120 bytes .../blender_icons32/icon32_record_on.dat | Bin 0 -> 4120 bytes .../blender/editors/datafiles/CMakeLists.txt | 2 + source/blender/editors/include/UI_icons.hh | 4 +- source/blender/makesrna/intern/rna_scene.cc | 2 +- 8 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 release/datafiles/blender_icons16/icon16_record_off.dat create mode 100644 release/datafiles/blender_icons16/icon16_record_on.dat create mode 100644 release/datafiles/blender_icons32/icon32_record_off.dat create mode 100644 release/datafiles/blender_icons32/icon32_record_on.dat diff --git a/release/datafiles/blender_icons.svg b/release/datafiles/blender_icons.svg index a51cae9412b..44d5d29de52 100644 --- a/release/datafiles/blender_icons.svg +++ b/release/datafiles/blender_icons.svg @@ -46,8 +46,8 @@ id="namedview34335" showgrid="false" inkscape:zoom="1.4142136" - inkscape:cx="229.45615" - inkscape:cy="319.96582" + inkscape:cx="268.34702" + inkscape:cy="242.89117" inkscape:window-x="1912" inkscape:window-y="-8" inkscape:window-maximized="1" @@ -19237,6 +19237,47 @@ fill="#ffffff" id="path5-2" /> + + + + + + + + H$-IXlD6@i;cP5+3ZFH7@~{D#msLw}C8 zFH83~$v1EEj^v2k8G1Ra@bdRb-w`vj#`FK?xrQa=9(cb!`#xsm4#>T^;EWyQ4t(6} NoReoyA=~@4=LZXm>@ENR literal 0 HcmV?d00001 diff --git a/release/datafiles/blender_icons16/icon16_record_on.dat b/release/datafiles/blender_icons16/icon16_record_on.dat new file mode 100644 index 0000000000000000000000000000000000000000..a220ccacc59f311c071434f28eb1ca9bb931d65f GIT binary patch literal 1048 zcmWe&U|(N-3@$)Aiiv@t0fZYGh8_O@|Gz#EF971JKztpDmjST_F@6QAO9tZK zK#UIl0tJfknE{kH1!8P^VP^dUGF)+)0hC(N9(^#W3)u96#DEHdVT$n3skrn*&6tKq?{c6VR=*>g2~?8=#GrHo19yRp WTp(sbR!4{pRL=v%{DjmEq&xr=9$U}= literal 0 HcmV?d00001 diff --git a/release/datafiles/blender_icons32/icon32_record_off.dat b/release/datafiles/blender_icons32/icon32_record_off.dat new file mode 100644 index 0000000000000000000000000000000000000000..8756430bf6a3f2d3e40e111edc34469cc469c167 GIT binary patch literal 4120 zcmeH~+baZ79LHzb4I!6uP1z?!c#s#0A}J#KXrEjnk_Sa8ltsBb$R*eR!~eHF-#Vjd zJ3D)hOL>@wk8|dCzTfYhnK^T2WrHBd!bx=yT+@D}`I8BPLZOh5+=FBdIIe+WvDgfg zunK#y59=@s?SJ(?k=+6-@CNTO>@wEY8LUhCcu zM(aL(ylp1q#>XcuzH{U4@b!jz{8gYeD7@AH`fJejw}g4$Y4JaroEjfLo+IPS`uL(+ z{BV*v+3~b+pe5jsJNG->4tFMJD{Jo z<+|4J>pAGVr#a|;>Y3`B`}IE4PeCu_;RU2U1n+&@HZO9NKM&!%tbFy);1t5&2C8eX vS%!=)>nAlbn;-`T(7B>qajf%xd%yIV8|SHoPSEqN_wgp$ literal 0 HcmV?d00001 diff --git a/release/datafiles/blender_icons32/icon32_record_on.dat b/release/datafiles/blender_icons32/icon32_record_on.dat new file mode 100644 index 0000000000000000000000000000000000000000..102e1fb178bad5bf449c0dff7e10ea5933332a78 GIT binary patch literal 4120 zcmeH~F-rqM5QP_`m>@P{qavhG6jJyXY^-dx7b_b(D{Za`SesT*6fMOfl}#EUjg^I9 zDPkK4h!9lH?;vTGWOrxogcN)5<=CA!?@cZnLaN4?D%_TgIpyA*HBH5|dpe|?|uUWN_HEn=OcVWwjU8q54<#Y`pa+^5@u=ItmieEb`L%iZ~~v;yRzTB q29#}|ylXrcpbjr!UvF%j!CKy&kbZJzVI68P7t#|o@xSJ{oq<1i4nKSV literal 0 HcmV?d00001 diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt index e7865403ec0..f1356e82ed2 100644 --- a/source/blender/editors/datafiles/CMakeLists.txt +++ b/source/blender/editors/datafiles/CMakeLists.txt @@ -110,6 +110,8 @@ set(ICON_NAMES speaker tool_settings shaderfx + record_off + record_on fake_user_off fake_user_on view3d diff --git a/source/blender/editors/include/UI_icons.hh b/source/blender/editors/include/UI_icons.hh index bba3f5f545b..d3acda9a376 100644 --- a/source/blender/editors/include/UI_icons.hh +++ b/source/blender/editors/include/UI_icons.hh @@ -143,8 +143,8 @@ DEF_ICON_BLANK(155) DEF_ICON_BLANK(156) DEF_ICON_BLANK(157) DEF_ICON_BLANK(158) -DEF_ICON_BLANK(159) -DEF_ICON_BLANK(160) +DEF_ICON(RECORD_OFF) +DEF_ICON(RECORD_ON) DEF_ICON(BLANK1) /* Not actually blank - this is used all over the place */ DEF_ICON(FAKE_USER_OFF) DEF_ICON(FAKE_USER_ON) diff --git a/source/blender/makesrna/intern/rna_scene.cc b/source/blender/makesrna/intern/rna_scene.cc index 5bf1e167c1c..e2d188e37a7 100644 --- a/source/blender/makesrna/intern/rna_scene.cc +++ b/source/blender/makesrna/intern/rna_scene.cc @@ -3813,7 +3813,7 @@ static void rna_def_tool_settings(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, nullptr, "autokey_mode", AUTOKEY_ON); RNA_def_property_ui_text( prop, "Auto Keying", "Automatic keyframe insertion for Objects, Bones and Masks"); - RNA_def_property_ui_icon(prop, ICON_REC, 0); + RNA_def_property_ui_icon(prop, ICON_RECORD_OFF, 1); prop = RNA_def_property(srna, "auto_keying_mode", PROP_ENUM, PROP_NONE); RNA_def_property_enum_bitflag_sdna(prop, nullptr, "autokey_mode"); -- 2.30.2