From d745b70330c690cb1c5130606ed36bd50aa2ee6c Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 16 Feb 2018 19:07:58 +0000 Subject: [PATCH] The Mesh Game Object Factory entry had incorrect arguments passed to Mesh constructor. --- src/gameobjects/mesh/MeshFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/mesh/MeshFactory.js b/src/gameobjects/mesh/MeshFactory.js index b994b2252..5518dd38d 100644 --- a/src/gameobjects/mesh/MeshFactory.js +++ b/src/gameobjects/mesh/MeshFactory.js @@ -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)); }); }