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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-14 06:34:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-14 06:34:57 +0300
commitaee5f0e20f1d2d52306e9cdf134a54aa71d11527 (patch)
tree431ac679a75f4aa543375b77f5e0a13dc050a4ce /source/blender/editors/space_view3d
parente263657df72d1c622eb6407d20d33522eabda499 (diff)
patch [#26495] Adjustable outline width for selected objects
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 4979c3c2a2a..cd37e0315b3 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -2455,7 +2455,7 @@ static void draw_mesh_object_outline(View3D *v3d, Object *ob, DerivedMesh *dm)
{
if(v3d->transp==0) { // not when we draw the transparent pass
- glLineWidth(2.0);
+ glLineWidth(UI_GetThemeValuef(TH_OUTLINE_WIDTH) * 2.0);
glDepthMask(0);
/* if transparent, we cannot draw the edges for solid select... edges have no material info.