Hide Current layer

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

Hide Current layer

Post by NickA »

Is there a way to set a keyboard shortcut to toggle the current layers visibility?
I would find this very useful and time saving (rather than needing to click on the layer visibiliy toggle on the timeline). :D
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Hide Current layer

Post by ZigOtto »

NickA wrote:Is there a way to set a keyboard shortcut to toggle the current layers visibility?
what do you mean exactly by "the current layers visibility" ...?
if it's the [H] button, to toggle "view All" / "view Current Layer only" , ... or the Red/Green square on each layer ?
in the second hypothese, I think it will require a little script, to be embeded in a custom button, then assigned to a shortkey ...
not easy for a lambda user ... so yes, an assignable (Current)Layer: Toggle Visibility command would be welcome. :)
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Re: Hide Current layer

Post by malcooning »

I think it's possible via George, no?
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Hide Current layer

Post by Svengali »

If you want to be able to toggle the visibility of the current layer, Create a new button and embed the following George script:

tv_LayerDisplay
LayerState = result
IF CMP(LayerState, "On")
tv_LayerDisplay State "Off"
ELSE
tv_LayerDisplay State "On"
END

Name the button, then assign it to a shortcut key like any other custom button.


Sven
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Re: Hide Current layer

Post by malcooning »

Ha! Sven to the rescue!
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Hide Current layer

Post by ZigOtto »

that's it ! 8)
User avatar
malcooning
Posts: 2114
Joined: 29 Mar 2006, 12:43
Location: Tel Aviv
Contact:

Re: Hide Current layer

Post by malcooning »

Made this into a button and posted it in the Content Sharing
Credit goes to Sven.
Post Reply