UI: Turn on overlays by default in new node editors
This was missed in the initial commit adding the node editor overlays.
This commit is contained in:
parent
742b7adbad
commit
cf72b10075
Notes:
blender-bot
2023-02-14 04:10:15 +01:00
Referenced by commit 1ecb4e6fd8
, Fix T92446: node editor overlays reset automatically
|
@ -92,6 +92,9 @@ void ED_node_tree_start(SpaceNode *snode, bNodeTree *ntree, ID *id, ID *from)
|
|||
snode->id = id;
|
||||
snode->from = from;
|
||||
|
||||
snode->overlay.flag |= SN_OVERLAY_SHOW_OVERLAYS;
|
||||
snode->overlay.flag |= SN_OVERLAY_SHOW_WIRE_COLORS;
|
||||
|
||||
ED_node_set_active_viewer_key(snode);
|
||||
|
||||
WM_main_add_notifier(NC_SCENE | ND_NODES, NULL);
|
||||
|
|
Loading…
Reference in New Issue