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>2012-04-20 17:45:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-20 17:45:38 +0400
commited81982049987802b0215dc1b49439addbb9f0b3 (patch)
treea83ee34c2b617e3f4d60006e1ee87889b5063798 /source/blender/editors/mesh
parent71ac500fc2bc675ab34b91759c0712854fe7ee8c (diff)
knife tool alpha values where being set to zero (intersection points weren't visible), error made when converting to theme colors.
also minor bmesh style cleanup.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 7d0a5423405..84d6439688a 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -895,10 +895,10 @@ static void knife_init_colors(KnifeColors *colors)
UI_GetThemeColor3ubv(TH_NURB_ULINE, colors->edge);
UI_GetThemeColor3ubv(TH_HANDLE_SEL_VECT, colors->curpoint);
UI_GetThemeColor3ubv(TH_HANDLE_SEL_VECT, colors->curpoint_a);
- colors->curpoint_a[3] = 0.4;
+ colors->curpoint_a[3] = 102;
UI_GetThemeColor3ubv(TH_ACTIVE_SPLINE, colors->point);
UI_GetThemeColor3ubv(TH_ACTIVE_SPLINE, colors->point_a);
- colors->point_a[3] = 0.4;
+ colors->point_a[3] = 102;
}
/* modal loop selection drawing callback */