diff --git a/src/gameobjects/components/Texture.js b/src/gameobjects/components/Texture.js index d51df4b68..65cd3feca 100644 --- a/src/gameobjects/components/Texture.js +++ b/src/gameobjects/components/Texture.js @@ -75,6 +75,11 @@ var Texture = { this.renderFlags |= _FLAG; } + if (this.frame.customPivot) + { + this.setOrigin(this.frame.pivotX, this.frame.pivotY); + } + return this; }