Page MenuHome

UI: Fix grid scale text not having shadows in the 3d view infos

Authored by Alessio Monti di Sopra (a.monti) on Tue, Oct 8, 11:40 PM.



The patch adds a shadow to the grid scale info text in the 3d View, to make it more visible like the rest of that section.

The problem gets more evident with bright backgrounds:

Diff Detail

rB Blender

Event Timeline

Germano Cavalcante (mano-wii) requested changes to this revision.Wed, Oct 9, 1:35 PM

I don't know the BLF API well, but from other uses I could see that BLF_disable is always called at the end.

This revision now requires changes to proceed.Wed, Oct 9, 1:35 PM

Sorry I forgot to add it.

  • added BLF_disable() for the shadow
This revision is now accepted and ready to land.Wed, Oct 9, 2:00 PM