Commit: ad0489ded869fdf52ed036884158b5ffb7ec3735
Author: Antonioya
Date: Mon Mar 4 20:38:03 2019 +0100
Branches: master
https://developer.blender.org/rBad0489ded869fdf52ed036884158b5ffb7ec3735
Annotations: Reduce smooth factor to 0.5
The previous value was too high and deform too much if write text.
===================================================================
M source/blender/editors/gpencil/annotate_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/annotate_paint.c
b/source/blender/editors/gpencil/annotate_paint.c
index a9654e50822..12f7032ef84 100644
--- a/source/blender/editors/gpencil/annotate_paint.c
+++ b/source/blender/editors/gpencil/annotate_paint.c
@@ -475,7 +475,7 @@ static short gp_stroke_addpoint(
gpd->runtime.sbuffer_size++;
/* smooth while drawing previous points with a reduction factor
for previous */
for (int s = 0; s < 3; s++) {
- gp_smooth_buffer(p, 1.0f * ((3.0f - s) / 3.0f),
gpd->runtime.sbuffer_size - s);
+ gp_smooth_buffer(p, 0.5f * ((3.0f - s) / 3.0f),
gpd->runtime.sbuffer_size - s);
}
/* check if another operation can still occur */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs