Blender Git Loki

Git Commits -> Revision e463d2c

Revision e463d2c by Hans Goudey (master)
October 26, 2021, 02:50 (GMT)
UI: Change node editor grid into a dot grid

This patch makes the background grid of the node editor a grid of dots
instead of lines. This makes the background look a bit more subtle and
reduces visual complexity. The dots are meant to provide a reference
when panning and zooming. Based on the design of @pablovazquez, and
a patch originally authored by @fabian_schempp.

The "Grid Levels" controls how many levels of dots are drawn. As the
editor zooms in, the higher levels of dots fade in, making them closer
together visually. The zoom factor at which each grid starts and ends
fading in is controllable in the code, and could be tweaked further
in the future. The new default value is 7, out of a range from 0 to 9.

Differential Revision:

Commit Details:

Full Hash: e463d2c16f72e976ed1c886aca3f8efe396978fb
Parent Commit: 6f5bf8a
Lines Changed: +130, -16

9 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+2, -2) (Diff)
/release/scripts/presets/interface_theme/blender_light.xml (+2, -2) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -0) (Diff)
/source/blender/editors/include/ED_node.h (+1, -1) (Diff)
/source/blender/editors/include/UI_view2d.h (+4, -0) (Diff)
/source/blender/editors/interface/view2d.c (+109, -0) (Diff)
/source/blender/editors/space_node/ (+3, -7) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021