Do not trigger change on refresh, compat. to spine 1.3.x and lower.

This commit is contained in:
Martin Edenhofer 2015-04-13 15:03:45 +02:00
parent acc6f606f8
commit ce38efc412

View file

@ -416,7 +416,7 @@ class Model extends Module
# go to the source and load attributes # go to the source and load attributes
@constructor.irecords[@id].load(atts) @constructor.irecords[@id].load(atts)
@trigger('refresh', this) @trigger('refresh', this)
@trigger('change', this, 'refresh') #@trigger('change', this, 'refresh') # do not trigger change on refresh, compat. to spine 1.3.x and lower
this this
toJSON: -> toJSON: ->