diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-11-19 14:05:03 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-02-04 23:14:05 +0300 |
commit | 559d01e12949a730f3497fdfbe79a11f532f3afe (patch) | |
tree | 854612ac452c7975c4273b35d302fb74fbf47c34 /source/blender/editors/gpencil | |
parent | 0bedf9cf07c66f4f6ddbdcfb47001bb29cb2389e (diff) |
Improve error message converting nurb to bezier
BKE_nurb_type_convert now takes r_err_msg and is more specific in the
error message...
ref T71672.
Maniphest Tasks: T71672
Differential Revision: https://developer.blender.org/D6275
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_convert.c b/source/blender/editors/gpencil/gpencil_convert.c index 1ce4ffbbd46..e1b13747ee0 100644 --- a/source/blender/editors/gpencil/gpencil_convert.c +++ b/source/blender/editors/gpencil/gpencil_convert.c @@ -1385,7 +1385,7 @@ static void gp_layer_to_curve(bContext *C, if (mode == GP_STROKECONVERT_POLY) { for (nu = cu->nurb.first; nu; nu = nu->next) { - BKE_nurb_type_convert(nu, CU_POLY, false); + BKE_nurb_type_convert(nu, CU_POLY, false, NULL); } } |