nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/inkscape_tools: fix generated code for arrays with gamnit
[nit.git]
/
contrib
/
inkscape_tools
/
src
/
svg_to_png_and_nit.nit
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
(file)
--- 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 """