[aseprite] 56/134: Change default file names to save a sequence of images

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit f1165ec3bcb440f90926b72a79d6a3a2f0dfe567
Author: David Capello <davidcapello at gmail.com>
Date:   Sun Nov 9 20:01:34 2014 -0300

    Change default file names to save a sequence of images
---
 src/app/file/file.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/app/file/file.cpp b/src/app/file/file.cpp
index 95d4cbe..d61e27a 100644
--- a/src/app/file/file.cpp
+++ b/src/app/file/file.cpp
@@ -370,11 +370,8 @@ FileOp* fop_to_save_document(Context* context, Document* document)
 
       start_from = split_filename(fop->document->filename().c_str(), left, right, &width);
       if (start_from < 0) {
-        start_from = 0;
-        width =
-          (fop->document->sprite()->totalFrames() < 10)? 1:
-          (fop->document->sprite()->totalFrames() < 100)? 2:
-          (fop->document->sprite()->totalFrames() < 1000)? 3: 4;
+        start_from = 1;
+        width = 1;
       }
 
       for (FrameNumber frame(0); frame<fop->document->sprite()->totalFrames(); ++frame) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list