I would like to load custom icon for a button displayed on 3d View (GIZMO_GT_button_2d) in my add-on.

Looks like "icon_value" way does't work here - it works only in panels. Is there any other way get this working?

  • $\begingroup$ Did you ever figure it out? $\endgroup$
    – MACHIN3
    Commented May 25, 2022 at 10:54
  • $\begingroup$ Unfortunately it is not possible at the moment. Best approach would be to help pushing the fix that has been submitted but never merged. It is here: projects.blender.org/blender/blender/pulls/108988 $\endgroup$
    – Werwack
    Commented Dec 8, 2023 at 0:15
  • $\begingroup$ It looks like there was some kind of conflict with the target branch so they never merged it. I would really love to be able to have custom icons on the 2D Gizmos. It seems to be quite a limitation since the default set of icons that comes with Blender isn't that big and specific. I did leave a comment at the suggested link provided by @Werwack, hopefully something can be done. If anyone knows of any solution/workaround please let us know. Thanks! $\endgroup$ Commented Mar 4 at 21:21


You must log in to answer this question.

Browse other questions tagged .