Grease Pencil py-api
* new/remove for GPencil frames/strokes/ * add/pop for points * clear for frame/layer & grease_pencil * copy for frame + fix for free_gpencil_frames() not clearing the active frame
This commit is contained in:
@@ -87,6 +87,7 @@ void free_gpencil_frames(bGPDlayer *gpl)
|
||||
free_gpencil_strokes(gpf);
|
||||
BLI_freelinkN(&gpl->frames, gpf);
|
||||
}
|
||||
gpl->actframe = NULL;
|
||||
}
|
||||
|
||||
/* Free all of the gp-layers for a viewport (list should be &gpd->layers or so) */
|
||||
|
||||
Reference in New Issue
Block a user