From 70a7685d04fb0e71390ea6b5fefa359942253f6b Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 1 Dec 2021 21:45:41 -0500 Subject: 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 --- source/blender/makesdna/DNA_space_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna') 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 { -- cgit v1.2.3