I'm wondering whether anyone else has yet encountered this error:
- Code: Select all
28.33 [INFO]:nasal cannot change immutable string:
at fgdata/Nasal/canvas/svg.nas, line 428
28.33 [INFO]:nasal called from: fgdata/Nasal/canvas/svg.nas, line 748
It is triggered by this nasal command:
- Code: Select all
var placards_canvas = canvas.new({
"name": "C150 Cockpit Placards",
"size": [1024, 2048],
"view": [1024, 2048],
"mipmapping": 1
});
placards_canvas.addPlacement({"node": "placards"});
var svgGroup = placards_canvas.createGroup();
canvas.parsesvg( svgGroup, "Models/placards.svg", {'font-mapper': font_mapper});
with this .svg file: https://www.dropbox.com/s/ogffot46f5uuj ... s.svg?dl=1
I suspect that something in my .svg file is the reason for this, probably a rectangle as this is what line 428 of svg.nas seems to be about, but I'm stuck there. Any pointers are very welcome!
Regards
EDIT: Almost forgot the most important: FGFS is compiled from next a couple of days ago