tweak to vertex slide drawing, reduce line alpha, could cover vertex and make it...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 15:13:47 +0000 (15:13 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 22 Apr 2013 15:13:47 +0000 (15:13 +0000)
source/blender/editors/transform/transform.c

index 36be02caf8a4f92d833677bddf39d441fd8f422d..c967c34a0a804d68e83d53ba1b9a80623b678cd0 100644 (file)
@@ -6428,7 +6428,7 @@ static void drawVertSlide(const struct bContext *C, TransInfo *t)
                        TransDataVertSlideVert *sv;
                        const float ctrl_size = UI_GetThemeValuef(TH_FACEDOT_SIZE) + 1.5f;
                        const float line_size = UI_GetThemeValuef(TH_OUTLINE_WIDTH) + 0.5f;
-                       const int alpha_shade = -30;
+                       const int alpha_shade = -160;
                        const bool is_clamp = !(t->flag & T_ALT_TRANSFORM);
                        int i;
 
@@ -6910,7 +6910,7 @@ static void headerSeqSlide(TransInfo *t, float val[2], char *str)
                            (t->flag & T_ALT_TRANSFORM) ? IFACE_("ON") : IFACE_("OFF"));
 }
 
-static void applySeqSlide(TransInfo *t, float val[2])
+static void applySeqSlide(TransInfo *t, const float val[2])
 {
        TransData *td = t->data;
        int i;