Duplicating previous instance content in one click

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
Neil Ingle
Posts: 8
Joined: 19 Feb 2019, 14:04

Duplicating previous instance content in one click

Post 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 !
Windows 10, 64-bit - Intel Core i7-10700 CPU @2.9GHz - 32 GB RAM
TVPaint 11 Pro 64 bit
Wacom Cintiq 13 Pro - driver 6.3.44-1
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Duplicating previous instance content in one click

Post 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.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: Duplicating previous instance content in one click

Post 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 6923 times
Note : before anything, it's best to tell us your current setup.
Neil Ingle
Posts: 8
Joined: 19 Feb 2019, 14:04

Re: Duplicating previous instance content in one click

Post 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
Windows 10, 64-bit - Intel Core i7-10700 CPU @2.9GHz - 32 GB RAM
TVPaint 11 Pro 64 bit
Wacom Cintiq 13 Pro - driver 6.3.44-1
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Duplicating previous instance content in one click

Post by Svengali »

This might do what you want...
Copy Prevous Image.png
Copy Prevous Image.png (31.29 KiB) Viewed 6876 times
sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Neil Ingle
Posts: 8
Joined: 19 Feb 2019, 14:04

Re: Duplicating previous instance content in one click

Post 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 :)
Windows 10, 64-bit - Intel Core i7-10700 CPU @2.9GHz - 32 GB RAM
TVPaint 11 Pro 64 bit
Wacom Cintiq 13 Pro - driver 6.3.44-1
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Duplicating previous instance content in one click

Post 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.
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Neil Ingle
Posts: 8
Joined: 19 Feb 2019, 14:04

Re: Duplicating previous instance content in one click

Post 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 4674 times
Windows 10, 64-bit - Intel Core i7-10700 CPU @2.9GHz - 32 GB RAM
TVPaint 11 Pro 64 bit
Wacom Cintiq 13 Pro - driver 6.3.44-1
Post Reply