From 20b993033516285fe01dfd31994527b74e3d519a Mon Sep 17 00:00:00 2001 From: "Samid\\Sami" Date: Sun, 25 Mar 2018 10:44:24 +0200 Subject: [PATCH 1/2] Fix calling non existing start() instead of startFollow() in setPath(config) --- src/gameobjects/pathfollower/PathFollower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/pathfollower/PathFollower.js b/src/gameobjects/pathfollower/PathFollower.js index 3f0fc49c5..9c2834ba7 100644 --- a/src/gameobjects/pathfollower/PathFollower.js +++ b/src/gameobjects/pathfollower/PathFollower.js @@ -176,7 +176,7 @@ var PathFollower = new Class({ if (config) { - this.start(config); + this.startFollow(config); } return this; From 74d43b2707a96b929be3d68e5553ea0c08f44fa3 Mon Sep 17 00:00:00 2001 From: "Samid\\Sami" Date: Sun, 25 Mar 2018 10:51:47 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 410bcd432..67fb993b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ being passed to the simulation. The default value is 1 to remain consistent with * In the WebGL Render Texture the tint of the texture was always set to 0xffffff and therefore the alpha values were ignored. The tint is now calculated using the alpha value. Fix #3385 (thanks @ger1995) * The RenderTexture now uses the ComputedSize component instead of Size (which requires a frame), allowing calls to getBounds to work. Fix #3451 (thanks @kuoruan) +* PathFollower.start has been renamed to `startFollow`, but PathFollower.setPath was still using PathFollower.start. (thanks @samid737) ### Updates