Custom Panel Layers
Posted: 30 Oct 2020, 01:13
Is there a way to add a New-Anim Layer to a custom panel? I found a shortcut but have yet to figure out where the keystroke is located.
TVPaint boards for technical support, requests and discussions about animation.
http://tvpaint.org/forum/
Code: Select all
tv_LayerCreate New // make a new layer after current layer and name it "New"
LayerID = result // get the new ID for New layer
tv_LayerAnim // convert New layer to Anim layer
tv_LayerPreBehavior LayerID REPEAT // set prebehavior for New layer to Loop
tv_LayerPostBehavior LayerID REPEAT // set postbehavior for New layer to Loop