Avoid exporting a file path in JSON data by default when a file without frames or layers is specified

This commit is contained in:
David Capello 2015-06-10 16:59:41 -03:00
parent 8eefdf174e
commit 5e46ed6571

View File

@ -336,7 +336,7 @@ void DocumentExporter::captureSamples(Samples& samples)
else if (hasLayer)
format = "{title} ({layer}).{extension}";
else
format = "{fullname}";
format = "{name}";
}
for (frame_t frame=frame_t(0);