[Bf-blender-cvs] [e7598096a35] greasepencil-object: GPencil: Change default Stroke thickness when convert curves
Antonio Vazquez
noreply at git.blender.org
Mon Aug 10 15:32:44 CEST 2020
Commit: e7598096a354ae10ad965418ff84083a437f4941
Author: Antonio Vazquez
Date: Mon Aug 10 15:32:35 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rBe7598096a354ae10ad965418ff84083a437f4941
GPencil: Change default Stroke thickness when convert curves
The thickness by default was using the old Draw Engine values and it was too thick in new engine.
===================================================================
M source/blender/blenkernel/intern/gpencil_curve.c
===================================================================
diff --git a/source/blender/blenkernel/intern/gpencil_curve.c b/source/blender/blenkernel/intern/gpencil_curve.c
index d02eeae0edb..6db5eaf28e0 100644
--- a/source/blender/blenkernel/intern/gpencil_curve.c
+++ b/source/blender/blenkernel/intern/gpencil_curve.c
@@ -174,7 +174,7 @@ static void gpencil_convert_spline(Main *bmain,
/* Create Stroke. */
bGPDstroke *gps = MEM_callocN(sizeof(bGPDstroke), "bGPDstroke");
- gps->thickness = 10.0f;
+ gps->thickness = 1.0f;
gps->fill_opacity_fac = 1.0f;
gps->hardeness = 1.0f;
gps->uv_scale = 1.0f;
More information about the Bf-blender-cvs
mailing list