mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 16:10:05 +00:00
Avoid exporting a file path in JSON data by default when a file without frames or layers is specified
This commit is contained in:
parent
8eefdf174e
commit
5e46ed6571
@ -336,7 +336,7 @@ void DocumentExporter::captureSamples(Samples& samples)
|
|||||||
else if (hasLayer)
|
else if (hasLayer)
|
||||||
format = "{title} ({layer}).{extension}";
|
format = "{title} ({layer}).{extension}";
|
||||||
else
|
else
|
||||||
format = "{fullname}";
|
format = "{name}";
|
||||||
}
|
}
|
||||||
|
|
||||||
for (frame_t frame=frame_t(0);
|
for (frame_t frame=frame_t(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user