Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2016-02-10 01:48:04 +0300
committerJulian Eisel <eiseljulian@gmail.com>2016-02-10 01:51:27 +0300
commite902ba270e68f9dd5aa07fb469a9ea396556e941 (patch)
treefbf7fbf5145410ca54ad90f2259779a9e4ca013e /source
parentba9992aa9182286404d94e651abdc91d5d7b36f7 (diff)
Fix curves drawn with wrong line width
Selected/Active curves were drawn with too high line width in Object mode.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 0094fc7edb5..38af8b70ff4 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -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;