Fixed display of actions using container in the thang editor.

This commit is contained in:
Scott Erickson 2014-02-05 15:16:07 -08:00
parent f900009770
commit 7041a12244

View file

@ -83,7 +83,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
toString: -> "<CocoSprite: #{@thang?.id}>"
buildSpriteSheet: ->
options = @thang?.getSpriteOptions?() or {}
options = @thang?.getSpriteOptions?() or @options
options.colorConfig = @options.colorConfig if @options.colorConfig
options.async = false
@thangType.getSpriteSheet options