Hi BurrMan
I'm glad you liked it.
You can use the "cancel" button, It resets the light direction to before the script is executed.
I think "moi" resets the light direction automatically to (1, 1, -1) every time you open it.
You can use this code to set it back to default:
code:
script:var dir = moi.view.lightDirection; dir.set(1,1,-1); moi.view.lightDirection = dir;
|