Fix curves drawn with wrong line width

Selected/Active curves were drawn with too high line width in Object mode.
This commit is contained in:
Julian Eisel 2016-02-09 23:48:04 +01:00
parent ba9992aa91
commit e902ba270e
1 changed files with 1 additions and 0 deletions

View File

@ -7634,6 +7634,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short
}
}
else if (ED_view3d_boundbox_clip(rv3d, ob->bb)) {
glLineWidth(1.0f);
empty_object = drawDispList(scene, v3d, rv3d, base, dt, dflag, ob_wire_col);
}
break;