From: Alexis Laferrière Date: Mon, 1 Feb 2016 16:41:06 +0000 (-0500) Subject: contrib/inkscape_tools: fix generated code for arrays with gamnit X-Git-Url: http://nitlanguage.org contrib/inkscape_tools: fix generated code for arrays with gamnit Signed-off-by: Alexis Laferrière --- diff --git a/contrib/inkscape_tools/src/svg_to_png_and_nit.nit b/contrib/inkscape_tools/src/svg_to_png_and_nit.nit index d762c11..982d7f4 100644 --- a/contrib/inkscape_tools/src/svg_to_png_and_nit.nit +++ b/contrib/inkscape_tools/src/svg_to_png_and_nit.nit @@ -207,7 +207,7 @@ class GamnitImageSetSrc var lines = new Array[String] for image in images do var coordinates = document.coordinates(image) - lines.add "\t\tmain_image.subtexture({coordinates})" + lines.add "\t\troot_texture.subtexture({coordinates})" end attributes.add """