mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Update SpineGameObject.js
This commit is contained in:
parent
f4002471d7
commit
9af50236e6
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue