well thanks, until now I wasn’t sure anyone other than me ever used it
Had a look at the Okuma thread and his addon seems very involved and cool, shame it’s not updated anymore. But yeah, it does take time.
In terms of improving my super basic addon, I thought that keeping the user’s selection (or more precisely restoring the selection) was a must, but never got round to implement it. Do you think it would be useful?
The TvPaint idea you brought up sounds good but just thinking about it quickly I can see situations where it would break, or at least where decisions have to be made as to how it should behave. And to be fair, that’s what most of my addon’s code is. The actual moving of the keyframes is only 3 lines of code. What takes time is testing then realizing that sometimes moving the keyframes does things you don’t want (like overwriting some keyframes on an other layer) and then writing a bunch of code to make sure it doesn’t happen. That and fixing bugs, like right now if you try to shorten a frame when one unlocked layer doesn’t have any frame on it yet, it crashes (cos it doesn’t find any frame to shorten). I will try to fix that, but then again it’s not just about stopping the bug, but asking “What should it do instead?” Nothing or ignore a layer? What if there’s only empty layers? How do I let the user know what’s happening? etc…
Anyways, all this to say I love the idea and would personally use it if it existed, but I don’t think I have the knowledge to do it. I might give it a go at some point but can’t promise anything. I’ll give you a shout if I do, as it would be useful to get some testing feedback.
If you fancy learning some python, I can warmly recommend it, it’s a very cool language. But integrating things into Blender can be a bit complex (which is why I’ve mostly just reused the addon example).