The operator used `layer->remove_frame` which has been replaced with `grease_pencil.remove_frames`. Also makes a few variables `const` and cleans up some namings.
The operator used `layer->remove_frame` which has been replaced with `grease_pencil.remove_frames`. Also makes a few variables `const` and cleans up some namings.