Set and/or toggle global opacity with the keyboard

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
NickA
Posts: 77
Joined: 22 Jun 2009, 01:27

Set and/or toggle global opacity with the keyboard

Post by NickA »

Hi Everyone

I find that I am often adjusting the global opacity of my current layer, but I couldn't find a keyboard shortcut for it. Ideally, I'd like to be able to toggle global opacity between 100% and another set amount. If there is a way to do this with a George script, that would also be excellent.

It'd also be brilliant to be able to go up or down the opacity levels in steps (maybe 10%?)
User avatar
NickA
Posts: 77
Joined: 22 Jun 2009, 01:27

Re: Set and/or toggle global opacity with the keyboard

Post by NickA »

I've figured it out. I created a george script and attached it to a custom button as follows (to toggle between 50% and 100% layer opacity):

tv_LayerDensity
LayerD = result
IF CMP(LayerD, "49")
tv_LayerDensity 100
ELSE
tv_LayerDensity 50
END

Ofcourse you can change it or have it toggle however you want. I was getting tvpx "export failed" errors, so I couldn't export my custom panel, but its pretty simple to make and adjust how you like. Use tv_warn LayerD to see what the current value is(if needed).
Post Reply