Commit: eea5880688485eaa89f700acdffe941b96e43619
Author: Antonio Vazquez
Date:   Wed Feb 3 21:29:45 2021 +0100
Branches: temp-gpencil-fill
https://developer.blender.org/rBeea5880688485eaa89f700acdffe941b96e43619

GPencil: Make less sensible the extend change whit wheel mouse

===================================================================

M       source/blender/editors/gpencil/gpencil_fill.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_fill.c 
b/source/blender/editors/gpencil/gpencil_fill.c
index d01e1452e34..aec9822ce74 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -2079,7 +2079,7 @@ static int gpencil_fill_modal(bContext *C, wmOperator 
*op, const wmEvent *event)
     case EVT_PAGEUPKEY:
     case WHEELUPMOUSE:
       if (tgpf->oldkey == 1) {
-        tgpf->fill_extend_fac -= 0.01f;
+        tgpf->fill_extend_fac -= 0.001f;
         CLAMP_MIN(tgpf->fill_extend_fac, 0.0f);
         gpencil_update_extend(tgpf);
       }
@@ -2087,7 +2087,7 @@ static int gpencil_fill_modal(bContext *C, wmOperator 
*op, const wmEvent *event)
     case EVT_PAGEDOWNKEY:
     case WHEELDOWNMOUSE:
       if (tgpf->oldkey == 1) {
-        tgpf->fill_extend_fac += 0.01f;
+        tgpf->fill_extend_fac += 0.001f;
         CLAMP_MAX(tgpf->fill_extend_fac, 100.0f);
         gpencil_update_extend(tgpf);
       }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to