fix for outline width theme option being ignored for non mesh object types.

This commit is contained in:
Campbell Barton
2013-10-26 02:14:07 +00:00
parent 48c1e0c0fc
commit 7f9cdae280

View File

@@ -6325,7 +6325,7 @@ static void drawObjectSelect(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
RegionView3D *rv3d = ar->regiondata;
Object *ob = base->object;
glLineWidth(2.0);
glLineWidth(UI_GetThemeValuef(TH_OUTLINE_WIDTH) * 2.0f);
glDepthMask(0);
if (ELEM3(ob->type, OB_FONT, OB_CURVE, OB_SURF)) {