[Bf-blender-cvs] [50b16fe] GPencil_Editing_Stage3: GP Sculpt: Pinch brush also uses the timer now

Joshua Leung noreply at git.blender.org
Sat Sep 19 16:05:49 CEST 2015


Commit: 50b16fee19945279a5e0d65e62b63d7d097873c7
Author: Joshua Leung
Date:   Sun Sep 20 01:59:08 2015 +1200
Branches: GPencil_Editing_Stage3
https://developer.blender.org/rB50b16fee19945279a5e0d65e62b63d7d097873c7

GP Sculpt: Pinch brush also uses the timer now

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c
index 9dcb483..1cf677c 100644
--- a/source/blender/editors/gpencil/gpencil_brush.c
+++ b/source/blender/editors/gpencil/gpencil_brush.c
@@ -1238,6 +1238,11 @@ static int gpsculpt_brush_invoke(bContext *C, wmOperator *op, const wmEvent *eve
 			brush_rate = 0.001f; // XXX: hardcoded
 			needs_timer = true;
 			break;
+			
+		case GP_EDITBRUSH_TYPE_PINCH:
+			brush_rate = 0.001f; // XXX: hardcoded
+			needs_timer = true;
+			break;
 		
 		case GP_EDITBRUSH_TYPE_TWIST:
 			brush_rate = 0.01f; // XXX: hardcoded




More information about the Bf-blender-cvs mailing list