Commit: cf72b10075758be971f9806b97db01f98383aba2 Author: Hans Goudey Date: Fri Oct 22 16:21:16 2021 -0500 Branches: master https://developer.blender.org/rBcf72b10075758be971f9806b97db01f98383aba2
UI: Turn on overlays by default in new node editors This was missed in the initial commit adding the node editor overlays. =================================================================== M source/blender/editors/space_node/space_node.c =================================================================== diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c index c932525ee1a..bd2559c4d4d 100644 --- a/source/blender/editors/space_node/space_node.c +++ b/source/blender/editors/space_node/space_node.c @@ -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); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
