Merge pull request #3457 from samid737/master

Fix: PathFollower.setPath was still using PathFollower.start instead of PathFollower.startFollow
This commit is contained in:
Richard Davey 2018-03-26 23:49:09 +01:00 committed by GitHub
commit 33edbfcefe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -176,7 +176,7 @@ var PathFollower = new Class({
if (config)
{
this.start(config);
this.startFollow(config);
}
return this;