Page MenuHome

custom brushes icon won't show up is some cases
Confirmed, NormalPublicBUG

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: rB0f45cab862b8

Short description of error
In some cases the custom icon of the brushes won't load properly. Even by reassigning it it doesn't work.

Exact steps for others to reproduce the error
Open the attached file and try to assign the accatech custom icon to the active brush (but anykind of image won't load)

Thankyou



Event Timeline

I can confirm that there is something strange in the file.
But I can't reproduce the problem from scratch in a new file.
It may be useful to inform how the file came to this state.

I don't know for sure actually. I imported the brushes (append) from another file and after a while the icons disappeared.

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Jan 26 2021, 1:53 PM

Can confirm.

Two first notes:

  • [1] getting an assert loading a custom icon
BLI_assert failed: source/blender/blenkernel/intern/icons.cc:762, BKE_icon_id_ensure(), at '((((*p_prv)->icon_id) == (0)) || (((*p_prv)->icon_id) == (id->icon_id)))'
  • [2] also custom icons with alpha seem to draw messy since 2.80?


Seems like this has come up before, see T71520: Custom brush icon file don´t work (Sculpt Mode) - but that magically resolved...
Then the Assert also already has its own ticket, see T84530: Failing assert when choosing custom icon for brush

The "messy" drawing is actually the icon drawing without alpha, not sure this is the way it is supposed to be in 2.80 onwards, but that would deserve its own report.

@Bastien Montagne (mont29): you have been on these similar cases, interested?
rB51812fb502c0: Fix 48831, Step I: Mismatch issues bewteen ID icon and preview system.
T54310: Assert when enable Brush custom icon
rB1a71d5ae85c8: Fix T54310: Assert when enable Brush custom icon.

Julian Eisel (Severin) changed the subtype of this task from "Report" to "Bug".Jan 29 2021, 12:41 AM
Julian Eisel (Severin) moved this task from Backlog to Bugs on the Sculpt, Paint & Texture board.