Fixed rotation not being updated after a new SpriteSheet is built.
This commit is contained in:
parent
5fe9a02c06
commit
f77f229b09
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ module.exports = class WebGLLayer extends CocoClass
|
||||||
cocoSprite.options.resolutionFactor = @resolutionFactor
|
cocoSprite.options.resolutionFactor = @resolutionFactor
|
||||||
cocoSprite.updateBaseScale()
|
cocoSprite.updateBaseScale()
|
||||||
cocoSprite.updateScale()
|
cocoSprite.updateScale()
|
||||||
|
cocoSprite.updateRotation()
|
||||||
@trigger 'new-spritesheet'
|
@trigger 'new-spritesheet'
|
||||||
|
|
||||||
renderContainers: (thangType, colorConfig, actionNames, spriteSheetBuilder) ->
|
renderContainers: (thangType, colorConfig, actionNames, spriteSheetBuilder) ->
|
||||||
|
|
Reference in a new issue