Just to check, I should merge main rather than rebase it and force push?
I had a look at this. Undo and redo work if the Cycle window has the focus. I might try to fix this. Any useful tips?
If I remember correctly, TOPBAR_PT_annotation_layers didn't work for Tools tab in Properties when I was first fixing this. That's why I added PROPERTIES_PT_annotation_layers, the only difference…
Missing Tool Settings menu item in Node editors isn't a bug after all: blender/blender#114205 (comment)
Since there's no way to see annotation…
I believe so, but I'm not familiar with the procedure. @PratikPB2123?
I created the pull request, it's still not reviewed.
As for the missing Tool Settings menu item in Node editors, it should be a separate bug.
Thanks Pratik, I'll make the change. Should I also change the comment in the other file?
Avoiding code duplication sounds good. BKE_gpencil_layer_delete
would then have to take bGPdata **gpd
though, so that it can null the correct pointer (&scene->gpd
in `animchannels_delete_exec…