Blender Git Loki

Git Commits -> Revision 1339103

Revision 1339103 by Yevgeny Makarov (master)
October 7, 2020, 13:53 (GMT)
Fix / cleanup panel category tab drawing

The panel category tabs (In the 3D view N-panel) did not look great
when zoomed in or with high DPI screens, with multiple overlapping
outlines, and roundness that didn't match elsewhere in Blender. In
addition, there was some unecessarily low-level drawing code in the
panel code.

This commit uses an existing function `UI_draw_roundbox_4fv`to draw
the tabs instead. There are some slight visual differences, though
these are easily adjusted with theme colors.

Differential Revision: https://developer.blender.org/D9045

Commit Details:

Full Hash: 13391038a5ce38835e1a7e9aa727f9c78f2e8dcd
Parent Commit: 983ad42
Committed By: Hans Goudey
Lines Changed: +62, -235

1 Modified Path:

/source/blender/editors/interface/interface_panel.c (+62, -235) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021