The Mesh Game Object Factory entry had incorrect arguments passed to Mesh constructor.

This commit is contained in:
Richard Davey 2018-02-16 19:07:58 +00:00
parent 5b4b5de075
commit d745b70330

View file

@ -31,7 +31,7 @@ if (WEBGL_RENDERER)
{
GameObjectFactory.register('mesh', function (x, y, vertices, uv, colors, alphas, texture, frame)
{
return this.displayList.add(new Mesh(this.scene, x, y, vertices, uv, key, frame));
return this.displayList.add(new Mesh(this.scene, x, y, vertices, uv, colors, alphas, texture, frame));
});
}