Blender Git Loki

Git Commits -> Revision 3371a4c

Revision 3371a4c by Hans Goudey (master)
October 26, 2021, 16:05 (GMT)
UI: Improve node editor breadcrumbs display

This patch upgrades node editor breadcrumbs to have slightly more
visual weight, to including the base path of object/modifier/world,
etc, have more visually pleasing spacing, and contain icons.

In the code, a generic "context path" is added to interface code.
The idea is that this could be used to draw other breadcrumbs in areas
like the property editor or the spreadsheet, and features could be added
to all of those areas at the same time.

Ideally we would be able to control the color of the breadcrumbs with a
specific theme color, but since they are drawn with the regular layout
system, that is not easily possible.

Thanks to @fabian_schempp for the original patch.

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

Commit Details:

Full Hash: 3371a4c472eef06d1c9e15451b245cb4575d667f
Parent Commit: f1a662c
Lines Changed: +337, -32

2 Added Paths:

/source/blender/editors/interface/interface_context_path.cc (+85, -0) (View)
/source/blender/editors/space_node/node_context_path.cc (+184, -0) (View)

8 Modified Paths:

/source/blender/editors/include/ED_node.h (+0, -1) (Diff)
/source/blender/editors/include/UI_interface.hh (+25, -0) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_node/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_node/node_draw.cc (+31, -8) (Diff)
/source/blender/editors/space_node/node_intern.h (+8, -0) (Diff)
/source/blender/editors/space_node/space_node.c (+0, -21) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021