Page 1 of 2

KeepTheMarks

Posted: 01 Jun 2016, 11:12
by schwarzgrau
Image

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
CustomPanel.png (3.48 KiB) Viewed 4507 times
KeepTheMarks_1_2.tvpx
(249 KiB) Downloaded 301 times

Re: KeepTheMarks

Posted: 01 Jun 2016, 13:15
by NathanOtano
Osome :D thanks

Re: KeepTheMarks

Posted: 01 Jun 2016, 13:25
by Thierry
Interesting !
NathanOtano wrote:Osome
I think it's "awesome" :D

Re: KeepTheMarks

Posted: 01 Jun 2016, 13:54
by NathanOtano
I know, I just love to write it with a "O" haha. Maybe it's funny only with the french accent in mind...

Re: KeepTheMarks

Posted: 01 Jun 2016, 14:38
by Elodie
I must admit we were wondering at the office why you were always writing it with an O :lol:

Re: KeepTheMarks

Posted: 01 Jun 2016, 14:55
by Fabrice
Elodie wrote:I must admit we were wondering at the office why you were always writing it with an O :lol:
+1 :P

Re: KeepTheMarks

Posted: 01 Jun 2016, 15:22
by NathanOtano
Oh... :D

Re: KeepTheMarks

Posted: 03 Jun 2016, 00:48
by momo
Thanks !

its indeed O some indeed. I guess you could write it like that for some of the french speaker to get it: howsome (that's a classic french prononciation mistake)

Re: KeepTheMarks

Posted: 03 Jun 2016, 00:48
by momo
Thanks !

its indeed O some indeed. I guess you could write it like that for some of the french speaker to get it: howsome (that's a classic french prononciation mistake)

Re: KeepTheMarks

Posted: 09 Jun 2016, 09:57
by schwarzgrau
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.

Re: KeepTheMarks

Posted: 09 Jun 2016, 11:07
by schwarzgrau
Updated to 1.2

Re: KeepTheMarks

Posted: 08 Jul 2016, 13:44
by D.T. Nethery
Thank you very much for this Keep The Marks tool, schwarzgrau ! This has helped me out with a large, complicated project .

Re: KeepTheMarks

Posted: 09 Jul 2016, 03:10
by Broughtvulture
Nice creation, it's nice to know that the mark tools are getting some love.

Re: KeepTheMarks

Posted: 10 Jul 2016, 21:15
by schwarzgrau
D.T. Nethery wrote:Thank you very much for this Keep The Marks tool, schwarzgrau ! This has helped me out with a large, complicated project .
I'm really happy to hear this. I hoped I would write a script someday, which could be useful for some other people too.

Broughtvulture wrote:Nice creation, it's nice to know that the mark tools are getting some love.
Oh thank you. I'm glad much more people than I expected use the marks regularly. So if you ask for a better integration, it's not so selfish :wink:

Re: KeepTheMarks

Posted: 11 Jul 2016, 04:54
by Elodie
So if you ask for a better integration, it's not so selfish
That's even the point of having a community : sharing tips and ideas to make things better for everyone :)