CollapseNodeTo works every second execution.
Have selected EP object, trying to assign UnwrapUVW and then collapseTo the stack.
For some strange reason Unwrap modifier stays 1st time I run the script and gets killed 2nd time.
Same code work like a charm if executed line-by-line, another thing that bugs me is that CollapseNodeTo returns "true" even if it failed.
Here is the code:
addModifier $ (Unwrap_UVW ()) maxOps.CollapseNodeTo $ 1 off
What am I doing wrong?