forked from bartvdbraak/blender
Do not highlight non-selected active node with active outline
This would match other areas in Blender.
This commit is contained in:
parent
9811e847ca
commit
6704f56c15
@ -1036,7 +1036,7 @@ static void node_draw_frame(const bContext *C, ARegion *ar, SpaceNode *snode, bN
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
/* outline active and selected emphasis */
|
||||
if (node->flag & (NODE_ACTIVE | SELECT)) {
|
||||
if (node->flag & SELECT) {
|
||||
glEnable(GL_BLEND);
|
||||
glEnable(GL_LINE_SMOOTH);
|
||||
|
||||
|
@ -813,7 +813,7 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
/* outline active and selected emphasis */
|
||||
if (node->flag & (NODE_ACTIVE | SELECT)) {
|
||||
if (node->flag & SELECT) {
|
||||
glEnable(GL_BLEND);
|
||||
glEnable(GL_LINE_SMOOTH);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user