[Bf-blender-cvs] [541d7415bfd] greasepencil-object: WIP: Remove smooth lower limit
Antonio Vazquez
noreply at git.blender.org
Sat Nov 11 18:55:21 CET 2017
Commit: 541d7415bfd8006b8bcc9763f090b624106df4e8
Author: Antonio Vazquez
Date: Sat Nov 11 18:55:11 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB541d7415bfd8006b8bcc9763f090b624106df4e8
WIP: Remove smooth lower limit
These lines were for debug only and must be removed
===================================================================
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 e989e01ecac..410c59ed705 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -499,10 +499,6 @@ static void gp_smooth_buffer_point(bGPdata *gpd, bGPDbrush *brush)
float inf = brush->draw_stabifac;
const float draw_stabangle = cos(brush->draw_stabangle);
const float draw_pxdensity = brush->draw_pxdensity * brush->draw_pxdensity;
- /* if no stabilization, return */
- if (brush->draw_stabifac == 0) {
- return;
- }
/* the influence never can be 1. We keep the range between 0 and 1 on the UI for
* consistency, but internally never can be 1 because then the estimated position
More information about the Bf-blender-cvs
mailing list