From 5e46ed65714826a87b52f81e6031cc7597eb1907 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 10 Jun 2015 16:59:41 -0300 Subject: [PATCH] Avoid exporting a file path in JSON data by default when a file without frames or layers is specified --- src/app/document_exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/document_exporter.cpp b/src/app/document_exporter.cpp index 7c83c8c9c..3d79bc843 100644 --- a/src/app/document_exporter.cpp +++ b/src/app/document_exporter.cpp @@ -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);