Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/anim_channels_edit.c
| Context not available. | |||||
| bGPDlayer *gpl = (bGPDlayer *)ale->data; | bGPDlayer *gpl = (bGPDlayer *)ale->data; | ||||
| /* try to delete the layer's data and the layer itself */ | /* try to delete the layer's data and the layer itself */ | ||||
| BKE_gpencil_free_frames(gpl); | BKE_gpencil_layer_delete(gpd, gpl); | ||||
| BLI_freelinkN(&gpd->layers, gpl); | |||||
| break; | break; | ||||
| } | } | ||||
| case ANIMTYPE_MASKLAYER: | case ANIMTYPE_MASKLAYER: | ||||
| Context not available. | |||||