diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-08-12 13:05:11 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-08-12 23:47:43 +0300 |
commit | 9abdafe840e5eaa29153565bd7c121f02e1d1fb1 (patch) | |
tree | eaf8a1c9903199f0fe4b34122cd83f867c79babd /source/blender/editors/object | |
parent | 19cef4073dd7b17a156fbb0feb1838417bf7ff30 (diff) |
GPencil: Add parameters to scale thickness when convert Curves
This parameter allows to scale the thickness.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 81b8cd70353..41757579817 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -2647,7 +2647,7 @@ static int object_convert_exec(bContext *C, wmOperator *op) ob_gpencil = ED_gpencil_add_object(C, ob->loc, local_view_bits); copy_v3_v3(ob_gpencil->rot, ob->rot); copy_v3_v3(ob_gpencil->scale, ob->scale); - BKE_gpencil_convert_curve(bmain, scene, ob_gpencil, ob, false, false, true); + BKE_gpencil_convert_curve(bmain, scene, ob_gpencil, ob, false, false, true, 1.0f); gpencilConverted = true; } } |