The following embedded script should act as a simple lighttable toggle for the current layer:
Code: Select all
tv_layercurrentID
ID = result
tv_LayerDisplay ID "lighttable" ON
lastLT = result
IF CMP(lastLT,"Lighttable ON")
tv_LayerDisplay ID "lighttable" OFF
END
In the 32 bit version, It has no effect at all.
These kinds differences tend to always be in favour of the 64 bit version...
TVPaint team, is there a reason for this? Are these differences in George 32 bit / 64 bit known to you and if so, can you make them public?
I've spent a lot of time trying to debug code that was resting on incapacitated built in commands in 32 bit that I didn't know about.
This thread is another example of 32 bit vs 64 bit George discrepancies: http://forum.tvpaint.com/viewtopic.php? ... rt#p108090
Thanks!
David