GP: Set cyclic to OFF when use cutter
[blender.git] / source / blender / editors / gpencil / gpencil_edit.c
index 05bd5dd3c1baf3ae9563e366682eddec7d8a164c..b13a15e6096ca1892f7798086b791010bbaa297f 100644 (file)
@@ -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);
                        }
                }