Update SpineGameObject.js

This commit is contained in:
Richard Davey 2019-07-17 16:59:47 +01:00
parent f4002471d7
commit 9af50236e6

View file

@ -139,6 +139,11 @@ var SpineGameObject = new Class({
this.root = this.getRootBone();
this.skeleton.scaleX = this.scaleX;
this.skeleton.scaleY = this.scaleY;
this.skeleton.updateWorldTransform();
var w = this.skeletonData.width;
var h = this.skeletonData.height;