Hi,
I have not found my original code but I have, however, noticed that this happens on every script I run. At least the ones I am currently writing.
It corrupts the artboard in some way. After a few runs the artboard seems to shrink somehow and the coordinates gets all messed up. Finally the artboard disappears entirely.
I have to close the document and open a new one to reset it.
Seems that it mostly happens after SG encounters an error, one such as this:
Error: Invalid coordinates: [[NaN, 0, NaN], [0, NaN, NaN]]
at Scriptographer Scripts/Testfile.js:100
at Scriptographer Scripts/Testfile.js:21
I am now running the latest version of SG on CS4 and did not have this problem on the previous version.
Setup:
MacBook 2.16 GHz Intel Core 2 Duo
2 GB 667 MHz DDR2 SDRAM
OS X 10.5.8
AI CS4
SG 2.9.070
Java 1.5.0_26