4 Replies Latest reply: Feb 28, 2012 2:33 PM by TheIvIaxx1 RSS

    layer.translate behavior in configurator panel

    TheIvIaxx1 Community Member

      i have a simple panel with a Script File button to execute the following script:

       

      app.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?