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.
This commit is contained in:
parent
8bd55cf3d5
commit
16c3425fe6
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue