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:
-rw-r--r--source/blender/src/editmesh_tools.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c
index 86f0058e68e..4d8ea26d683 100644
--- a/source/blender/src/editmesh_tools.c
+++ b/source/blender/src/editmesh_tools.c
@@ -4551,18 +4551,23 @@ int EdgeSlide(short immediate, float imperc)
if(G.qual==LR_CTRLKEY){
if(perc < 0.91)
perc += 0.1;
- } else {
+ } else if(G.qual==LR_SHIFTKEY) {
if(perc < 0.99)
perc += 0.01;
- }
-
+ }else {
+ if(perc < 0.94)
+ perc += 0.05;
+ }
} else if(mval[0] < mvalo[0]){
if(G.qual==LR_CTRLKEY){
if(perc > -0.91)
perc -= 0.1;
- } else {
+ } else if(G.qual==LR_SHIFTKEY){
if(perc > -0.99)
perc -= 0.01;
+ } else {
+ if(perc > -0.94)
+ perc -= 0.05;
}
}