i have a simple panel with a Script File button to execute the following script:
Code: Select allapp.activeDocument.activeLayer.translate(256);
When i click this, I get:
The object "previous history state" is not available
This was part of a larger script that has some funky bahvior when running through configurator. Through ESTK, it works as expected. So I narrowed it down to this.
Why is it trying to do history state stuff?
layer.translate behavior in configurator panel
layer.translate behavior in configurator panel
nvm, someone pointed me to bb/viewtopic.php?f=2&t=4041 for a fix
layer.translate behavior in configurator panel
Doe the Panel refer to a jsx-file or have you included the code itself?