forked from bartvdbraak/blender
Node Editor: Another missing glLineWidth reset
Caused too thick outlines around nodes and around preview image in node.
This commit is contained in:
parent
5a45ccaf3e
commit
7efd45eecd
@ -819,6 +819,8 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN
|
||||
}
|
||||
#endif
|
||||
|
||||
glLineWidth(1.0f);
|
||||
|
||||
UI_draw_roundbox_corner_set(UI_CNR_TOP_LEFT | UI_CNR_TOP_RIGHT);
|
||||
UI_draw_roundbox(rct->xmin, rct->ymax - NODE_DY, rct->xmax, rct->ymax, BASIS_RAD);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user