fix for outline width theme option being ignored for non mesh object types.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user