diff options
author | Hans Goudey <h.goudey@me.com> | 2021-12-02 05:45:41 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-02 05:45:41 +0300 |
commit | 70a7685d04fb0e71390ea6b5fefa359942253f6b (patch) | |
tree | ceb7888f7c258e6e642cb07713c52ab3cd3270ab /source/blender/makesdna | |
parent | 2b6c01d98c404a74d2b1c8fb6c5807ef5695b9cb (diff) |
UI: Add an option to display the node editor context path
Since we have the overlays popover, it makes sense to allow toggling the
context path like in the 3D viewport. This commit adds a property,
and turns it on by default in existing files.
Differential Revision: https://developer.blender.org/D13248
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index b4d373a5868..3ae7b3b68b8 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -1514,6 +1514,7 @@ typedef struct bNodeTreePath { } bNodeTreePath; typedef struct SpaceNodeOverlay { + /* eSpaceNodeOverlay_Flag */ int flag; } SpaceNodeOverlay; @@ -1521,6 +1522,7 @@ typedef enum eSpaceNodeOverlay_Flag { SN_OVERLAY_SHOW_OVERLAYS = (1 << 1), SN_OVERLAY_SHOW_WIRE_COLORS = (1 << 2), SN_OVERLAY_SHOW_TIMINGS = (1 << 3), + SN_OVERLAY_SHOW_PATH = (1 << 4), } eSpaceNodeOverlay_Flag; typedef struct SpaceNode { |