diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-25 22:01:11 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-25 22:01:29 +0300 |
commit | 16c3425fe61220a487aef443e0f58cd07be65c4e (patch) | |
tree | 26d7538b5161f330174f5162f3f5f38352dde1e1 /source/blender/editors | |
parent | 8bd55cf3d566d5fc51517a0a100fc2bcf14c1f46 (diff) |
GP: Set cyclic to OFF when use cutter
When cut a stroke, the cyclic must be set to off because keep it gets very weird results.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 05bd5dd3c1b..b13a15e6096 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -4005,6 +4005,8 @@ static int gpencil_cutter_lasso_select( for (bGPDstroke *gps = gpf->strokes.first; gps; gps = gpsn) { gpsn = gps->next; if (gps->flag & GP_STROKE_SELECT) { + /* disable cyclic */ + gps->flag &= ~GP_STROKE_CYCLIC; gpencil_cutter_dissolve(gpl, gps); } } |