Skip navigation
TheIvIaxx1
Currently Being Moderated

layer.translate behavior in configurator panel

Feb 28, 2012 1:55 PM

Tags: #script #configurator

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?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points