Page 1 of 1

Duplicating previous instance content in one click

Posted: 31 Aug 2021, 16:51
by Neil Ingle
Hello!

I was wondering if it was possible to create an action that would copy the content of the previous instance and paste it in the current instance in one click?

I've tried to wrap my head around how it could work, but I'm fairly new in setting up actions and shortcuts in TVPaint, I figured that someone might have done this already?

Just looking for ways to speed up my workflow, if I can avoid selecting, cutting, pasting and moving around in the timeline too much, that would be super useful for me.

Thank you !

Re: Duplicating previous instance content in one click

Posted: 31 Aug 2021, 19:49
by slowtiger
I just grab the handle and expand that frame to one exposure. The moment I draw in that last frame it becomes a new instance because I have auto-break activated.

Re: Duplicating previous instance content in one click

Posted: 01 Sep 2021, 10:20
by Xavier
Easy : select the instance to duplicate, then copy (CTRL+C) and paste it (CTRL+V) where you need !

Otherwise, there should be a keyboard shortcut that suits your needs :
Capture d’écran_2021-09-01_10-11-02.png
Capture d’écran_2021-09-01_10-11-02.png (9.8 KiB) Viewed 6935 times
Note : before anything, it's best to tell us your current setup.

Re: Duplicating previous instance content in one click

Posted: 01 Sep 2021, 22:00
by Neil Ingle
Thanks for your answers. Unfortunately, this is not quite what I had in mind, the idea is to be able to duplicate the CONTENT of the previous instance in one single click, without having to change anything in the timeline. The duplicate and paste messes up the timeline a bit, and you have to go in and rejig the frames, which is not efficient for what I'm doing (I'm aware this is tiny details, but I have a rush job at the moment, so every keystroke counts).

I've managed to find a way to have almost what I wanted using a combination of the bucket tool with the Panto option set to the previous frame. So with two click I can duplicate the previous frame and focus on drawing/warping elements of the drawing.

I've added my setup information in my signature :D

Re: Duplicating previous instance content in one click

Posted: 01 Sep 2021, 23:50
by Svengali
This might do what you want...
Copy Prevous Image.png
Copy Prevous Image.png (31.29 KiB) Viewed 6888 times
sven

Re: Duplicating previous instance content in one click

Posted: 02 Sep 2021, 11:45
by Neil Ingle
Thanks Sven, I did think of that but I got a bit overwhelmed with the list of actions possible, this would work great, I'll test it out :)

Re: Duplicating previous instance content in one click

Posted: 02 Sep 2021, 14:11
by Svengali
Well, it sort of works, but I think only when the new frame is an exposure... I hope it serves to save you keystrokes.

Re: Duplicating previous instance content in one click

Posted: 04 Feb 2022, 15:50
by Neil Ingle
Hello, a small update on this. I've finally found a way to design the action how I want it to work! It's very hack-y and I don't believe I've covered everything that can happen, but it works as intended ! Just one click and you'll be able to transfer your next (or previous) drawing to the current instance. No need to fiddle with the small timeline squares or create unnecessary layers. Here's an overview of the script. (The script assume that you're working with the white background mode)

tvp2.png
tvp2.png (17.57 KiB) Viewed 4686 times