in generated export string, use structure name which is based on the name of the input file

This commit is contained in:
2025-08-26 16:21:52 +01:00
parent 2de690f325
commit 4a8ff38a66
5 changed files with 10 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ struct
val squares = LayerTree.flatten (maxSide, layerTree)
val exportString =
CollisionTree.toExportString (squares, canvasWidth, canvasHeight)
CollisionTree.toExportString (squares, canvasWidth, canvasHeight, openFilePath)
val msg = EXPORT_SQUARES {output = exportString, filepath = openFilePath}
in
(model, [FILE msg])