Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-08-10 16:32:35 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-08-10 16:33:16 +0300
commit3fe2fceb4e35704a756ef064b2f4a289a6843261 (patch)
tree2a866b7268b97927cc859f300175b3075a0725f8 /source
parent3a3dc45e7b9b14a7d6a817763b26d72e593dd95a (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/gpencil_curve.c2
1 files changed, 1 insertions, 1 deletions
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;