Do not highlight non-selected active node with active outline

This would match other areas in Blender.
This commit is contained in:
Sergey Sharybin 2012-08-01 09:44:25 +00:00
parent 9811e847ca
commit 6704f56c15
2 changed files with 2 additions and 2 deletions

@ -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);