I'm using color image marks a lot and was frustrated to recreate them every time I merge two layers, so I wrote this script to keep them while merging.
The script works only with two layers at a time. You either select the top layer and choose Merge Keep Top Marks to prefer the top image marks or choose the bottom layer and choose Merge Keep Bottom Marks to prefer the bottom image marks.
How it will work is described in this feature request. Basically you merge the marks too, prefering the ones you choose. If you only want to keep the marks from layer A and ignore the marks from layer B you have to clear the marks on layer B before using the button.
Both buttons are available in bright gray for dark interfaces and in dark gray for bright interfaces.

Two things to notice:
1. This is my second script and I bet there is a lot of room for improvement. I embedded the script in the button, so please feel free to give me your corrections/improvements.
2. If a script does something means often the function doesn't need to be implemented in the software anymore, which is hopefully not the case here. It only works with two layers and I guess it's not that stable.

CustomPanel.png

KeepTheMarks_1_2.tvpx

You do not have the required permissions to view the files attached to this post.

Last edited by schwarzgrau on 09 Jun 2016, 11:06, edited 4 times in total.

Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

I know, I just love to write it with a "O" haha. Maybe it's funny only with the french accent in mind...

Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

I noticed that my script crashes TVPaint if one of the layer has only one frame, I try to fix it and will upload a new version. Till then please make sure you append an empty frame to a one frame layer you want to merge.