Blender Git Loki

Git Commits -> Revision 9b1b4b9

Revision 9b1b4b9 by Pablo Vazquez (master)
October 21, 2021, 19:00 (GMT)
Node Editor: Introduce color overlay and dashed wires theme setting

This patch includes code from D9891 and D12754, so credit goes to Juanfran and Dalai.
I updated the patches to work with `master` and with the new overlay toggle.

The reason to include both changes as part of one patch is that the dimmed dashed lines work much better together with colored wires.

Theme setting for dash opacity:
{F11370574, size=full}

{F11286177, size=full, autoplay, loop}

{F11149912, size=full}

For adding the overlay I used `SpaceImageOverlay` as reference, although I'm not familiar with this code so there might be mistakes.

Reviewed By: #user_interface, HooglyBoogly

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

Commit Details:

Full Hash: 9b1b4b9e32c8ac86e460204bb93e0ddc42ad9e49
Parent Commit: 1d96a48
Lines Changed: +212, -20

16 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+1, -0) (Diff)
/release/scripts/presets/interface_theme/blender_light.xml (+1, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+32, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+17, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+4, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -0) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/space_node/drawnode.cc (+58, -12) (Diff)
/source/blender/editors/space_node/node_draw.cc (+2, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl (+4, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl (+22, -3) (Diff)
/source/blender/makesdna/DNA_space_types.h (+12, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+44, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021