UI: Added Edge Width option in preferences for 3DView and UV/Image Editor #104741

Merged
Clément Foucault merged 4 commits from Xylvier/blender:xylvier-edge-width-patch into main 2023-02-27 20:02:49 +01:00

4 Commits

Author SHA1 Message Date
Clément Foucault 1bcdf20c8e Merge branch 'main' into xylvier-edge-width-patch 2023-02-27 19:55:15 +01:00
Patrick Busch 2655d5546b Corrected the value for "gb->size_edge"
Originally I used the "gb->size_vertex" as an example, yes.
Adjusted to and tested with the suggested value and it's working fine.
2023-02-27 18:24:15 +01:00
Patrick Busch abd96598de Moved "TH_EDGE_WIDTH" behind "TH_VERTEX_SIZE".
As requested, I moved "TH_EDGE_WIDTH" to right behind "TH_VERTEX_SIZE".
2023-02-27 17:50:27 +01:00
Patrick Busch 8b56df25c0 UI: Added Edge Width option in preferences for 3DView and UV/Image Editor
There was no option to adjust the edge_width like there is in the preferences for vertex_size and face_dot_size.

I only added the option for 3DView and UV/Image Editor, and limited both to a max size of 5 pixel, since the edges do not look very nice with too high values.
In the UV Editor only, there are always black outlines on the edges, I could not find a way to reduce the increasing thickness of these black outlines.

The default edge_width of 1 pixel.
2023-02-13 22:42:32 +01:00