Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_edit.c
| Show First 20 Lines • Show All 4,483 Lines • ▼ Show 20 Lines | if ((tot_inside == oldtot) || ((tot_inside == 1) && (oldtot == 2))) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| GP_EDITABLE_STROKES_END(gpstroke_iter); | GP_EDITABLE_STROKES_END(gpstroke_iter); | ||||
| /* dissolve selected points */ | /* dissolve selected points */ | ||||
| bGPDstroke *gpsn; | bGPDstroke *gpsn; | ||||
| for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { | for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { | ||||
| if (gpl->flag & GP_LAYER_LOCKED) { | |||||
| continue; | |||||
| } | |||||
| bGPDframe *gpf = gpl->actframe; | bGPDframe *gpf = gpl->actframe; | ||||
| if (gpf == NULL) { | if (gpf == NULL) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| for (bGPDstroke *gps = gpf->strokes.first; gps; gps = gpsn) { | for (bGPDstroke *gps = gpf->strokes.first; gps; gps = gpsn) { | ||||
| gpsn = gps->next; | gpsn = gps->next; | ||||
| if (gps->flag & GP_STROKE_SELECT) { | if (gps->flag & GP_STROKE_SELECT) { | ||||
| gpencil_cutter_dissolve(gpl, gps); | gpencil_cutter_dissolve(gpl, gps); | ||||
| ▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines | |||||