tv_preserve on a non active layer.

A forum dedicated to George scripting questions
Post Reply
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

tv_preserve on a non active layer.

Post by spyderheart »

The command

tv_preserve "alpha" ["ON"|"OFF"]

applies to the currently active layer. I would like a quick method of obtaining the Preserve Transparency state of any layer - without first having to set the layer to current (using tv_layerset layerID).

The ideal would simply be:

tv_preserve layerID "alpha" ["ON"|"OFF"]

Perhaps "tv_layerPreserve" in a future version (different name is to distinguish it from the one that's already established in peoples scripts)?

Thanks :)
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Post Reply