diff options
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c index 930ebb78b46..88515d849bc 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c @@ -109,7 +109,7 @@ static void reduce_stroke_points(bGPdata *gpd, const int points_num, const eBuildGpencil_Transition transition) { - if (points_num == 0) { + if ((points_num == 0) || (gps->points == NULL)) { clear_stroke(gpf, gps); return; } |