From 35734007dedc942a8a0122bbd28f9dcbec72ca80 Mon Sep 17 00:00:00 2001 From: Johnny Matthews Date: Tue, 6 Sep 2005 15:55:54 +0000 Subject: [PATCH] Percent and Flip now invalidate the edgeslide redraw, so that it updated on key press --- source/blender/src/editmesh_tools.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index 8766d0470a0..3641328a5b1 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -4926,9 +4926,11 @@ int EdgeSlide(short immediate, float imperc) perc = 0; immediate = 1; } else if(event==PKEY) { - (prop == 1) ? (prop = 0):(prop = 1); + (prop == 1) ? (prop = 0):(prop = 1); + mvalo[0] = -1; } else if(event==FKEY) { - (flip == 1) ? (flip = 0):(flip = 1); + (flip == 1) ? (flip = 0):(flip = 1); + mvalo[0] = -1; } else if(ELEM(event, RIGHTARROWKEY, WHEELUPMOUSE)) { // Scroll through Control Edges look = vertlist; while(look){