Lua. Timeouts on Mutate Shake and Wiggle commands e.g -> structure.MutateSidechainsAll ( 3 iter, 120 sec )
|Opened on:||Tuesday, April 22, 2014 - 13:43|
|Last modified:||Monday, April 13, 2020 - 00:20|
I have had many scripts held up because of "wiggle lock", especially on mutates and shakes, where the process is stuck spinning circles on iteration 1, it sits there for hours on iteration 1 until I spot it and stop it manually.
This seems a glitch but isn't much of an issue when playing manually. But when scripting it is a massive problem. But I think it's easily solved by a timeout value. If we can simply specify a number of seconds to run, these stuck processes can be terminated if they run too long. This not only helps the stuck situation but also situations where a wiggle is simply taking too long to get through all its iterations.
structure.MutateSidechainsAll ( 3 , 120 )
structure.MutateSidechainsAll ( 3 iterations or 120 seconds, whichever comes first )