diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2013-03-22 17:53:58 +0400 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2013-03-22 17:53:58 +0400 |
commit | 1d68c28541e32bd19f7b3d149382ee2318c74700 (patch) | |
tree | eed6878c42e9baae6eca67da7827d2863d98a466 /source/blender/editors | |
parent | a00eda0835ca02c33101984718a85e803cfb4ee2 (diff) |
spaces->tabs
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index a7dbe6b2a90..253789a8730 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -976,17 +976,17 @@ static void node_draw_hidden(const bContext *C, ARegion *ar, SpaceNode *snode, b glDisable(GL_BLEND); } - /* custom color inline */ - if (node->flag & NODE_CUSTOM_COLOR) { - glEnable(GL_BLEND); - glEnable(GL_LINE_SMOOTH); + /* custom color inline */ + if (node->flag & NODE_CUSTOM_COLOR) { + glEnable(GL_BLEND); + glEnable(GL_LINE_SMOOTH); - glColor3fv(node->color); - uiDrawBox(GL_LINE_LOOP, rct->xmin + 1, rct->ymin + 1, rct->xmax -1, rct->ymax - 1, hiddenrad); + glColor3fv(node->color); + uiDrawBox(GL_LINE_LOOP, rct->xmin + 1, rct->ymin + 1, rct->xmax -1, rct->ymax - 1, hiddenrad); - glDisable(GL_LINE_SMOOTH); - glDisable(GL_BLEND); - } + glDisable(GL_LINE_SMOOTH); + glDisable(GL_BLEND); + } /* title */ if (node->flag & SELECT) |