Commit: eef92d418ec5b04ec63c9dc85c5efd88e33a1a83
Author: Antonio Vazquez
Date: Thu Jun 8 15:44:27 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBeef92d418ec5b04ec63c9dc85c5efd88e33a1a83
Remove ALT key for straight lines
There was a conflict with new Eraser keymap. Keep only CTRL.
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_paint.c
b/source/blender/editors/gpencil/gpencil_paint.c
index b36ada24577..7ad5f90920e 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -2075,7 +2075,7 @@ static void gpencil_draw_apply_event(wmOperator *op,
const wmEvent *event)
p->mval[1] = event->mval[1] + 1;
/* verify key status for straight lines */
- if ((event->ctrl > 0) || (event->alt > 0)) {
+ if (event->ctrl > 0) {
if (p->straight[0] == 0) {
int dx = abs(p->mval[0] - p->mvalo[0]);
int dy = abs(p->mval[1] - p->mvalo[1]);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs