I was wondering if there is some undocumented command or magic number that can be used to simulate physically pressing the ENTER key?
Issuing a tv_redo and tv_reapply command does not work when I try to script an "update" of the layer warp mode.
thanks, Sven
Using George to press the ENTER key
Re: Using George to press the ENTER key
anyone? Some suggestion on how to force an update of the Warp deformation on a layer with some command in George?
Sven
Sven
Re: Using George to press the ENTER key
Hi Swen
"tv_reapply" do exactly the same things than the enter key.
Maybe you should activate the Warp deformation tools with "tv_setactiveshape wrap"
"tv_reapply" do exactly the same things than the enter key.
Maybe you should activate the Warp deformation tools with "tv_setactiveshape wrap"
Hervé ADAM, TVPaint Team
Re: Using George to press the ENTER key
Thanks Hervé,
You are right. Unfortunately, I was just putting the tv_Reapply command in the wrong place. It's working now.
As for Wrap vs. Warp command... I've been aware of that anomaly for a while, after spending an hour one day looking for a bug and discovering it was a "spelling" bug.
In my WarpCutBrush script, I'm dropping the cutbrush onto a temporary layer, activating layer warping, then picking the warped brush up again (after executing the tv_reapply command
) finally deleting the temporary layer. It works well but I'd still like to see a cutbrush warp option integrated into the next update.
Sven
You are right. Unfortunately, I was just putting the tv_Reapply command in the wrong place. It's working now.
As for Wrap vs. Warp command... I've been aware of that anomaly for a while, after spending an hour one day looking for a bug and discovering it was a "spelling" bug.

In my WarpCutBrush script, I'm dropping the cutbrush onto a temporary layer, activating layer warping, then picking the warped brush up again (after executing the tv_reapply command


Sven
Re: Using George to press the ENTER key
+1 for a Brush-Warping tool integration .Svengali wrote:... It works well but I'd still like to see a cutbrush warp option integrated into the next update.![]()
Sven

another thing,
is it possible with George to set the antialiasing option of the position/warp tools to "Best" ?
maybe an argument such as :
tv_Set ActiveShape Wrap subpixel 2
...?