129 if (gpd ==
nullptr) {
133 if (
ELEM(
nullptr, gpl, gpf)) {
151 ot->name =
"Delete Active Frame";
152 ot->idname =
"GPENCIL_OT_annotation_active_frame_delete";
153 ot->description =
"Delete the active frame for the active Annotation Layer";
Scene * CTX_data_scene(const bContext *C)
void BKE_gpencil_free_stroke_weights(struct bGPDstroke *gps)
bool BKE_gpencil_layer_frame_delete(struct bGPDlayer *gpl, struct bGPDframe *gpf)
struct bGPDframe * BKE_gpencil_layer_frame_get(struct bGPDlayer *gpl, int cframe, eGP_GetFrame_Mode addnew)
struct bGPDlayer * BKE_gpencil_layer_active_get(struct bGPdata *gpd)
void BKE_report(ReportList *reports, eReportType type, const char *message)
void BLI_ghash_free(GHash *gh, GHashKeyFreeFP keyfreefp, GHashValFreeFP valfreefp)
void BLI_freelinkN(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void DEG_id_tag_update(ID *id, unsigned int flags)
Read Guarded memory(de)allocation.
static wmOperatorStatus gpencil_actframe_delete_exec(bContext *C, wmOperator *op)
void ED_gpencil_strokes_copybuf_free()
static bool annotation_actframe_delete_poll(bContext *C)
static GHash * gpencil_strokes_copypastebuf_colors
void GPENCIL_OT_annotation_active_frame_delete(wmOperatorType *ot)
ListBase gpencil_strokes_copypastebuf
bGPdata * ED_annotation_data_get_active(const bContext *C)
void MEM_freeN(void *vmemh)
struct MDeformVert * dvert
struct ReportList * reports
void WM_event_add_notifier(const bContext *C, uint type, void *reference)