On my game I have a Spine character that holds a weapon, which is another Spine model entirely. The weapon is attached to the character's hand slot as a SkeletonAttachment. In some cases the character is resized, so I just scale its root bone, and this used to work just fine before version 3.x, but now the SkeletonAttachments ignore the parent's scaling when rendered. I'm using the latest runtime from master.
Looking at the SkeletonRenderer class I notice there are two lines commented out:
// rootBone.setScaleX(1 + bone.getWorldScaleX() - oldScaleX);
// rootBone.setScaleY(1 + bone.getWorldScaleY() - oldScaleY);
Reenabling them fixes the issue completely, so I wonder if there's a reason to disable SkeletonAttachment scaling or if it's just a silly bug.
Should I keep the change and possibly wait for an official commit, or should I scale the attachments manually as I scale my parent skeleton?
Thanks