DragonBones / DragonBonesAS

DragonBones ActionScript Runtime
MIT License
250 stars 117 forks source link

Wrong pivots in StarlingFactory.generateDisplay #56

Closed fysx closed 8 years ago

fysx commented 9 years ago

If starling TextureAtlas is using and subtextures has frameX and frameY, pivots are growing and animation became bad. if I comment block
if(subTextureFrame){ pivotX += subTextureFrame.x; pivotY += subTextureFrame.y; } everything works well

akdcl commented 8 years ago

Pivots are always center now in db displays.