X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Ftime.cpp;h=c639775be82d38a67cd6aa5c696166fdc43980d2;hb=7709250e1d6a698bdd72253219c498bf5b24e7f1;hp=0ef4cdbe250e870b9afc5ef0dc4954be98e4c16c;hpb=78aeb61398c711707f2f2e9131137df316221caf;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/time.cpp b/synfig-core/trunk/src/synfig/time.cpp index 0ef4cdb..c639775 100644 --- a/synfig-core/trunk/src/synfig/time.cpp +++ b/synfig-core/trunk/src/synfig/time.cpp @@ -7,6 +7,8 @@ ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** Copyright (c) 2007, 2008 Chris Moore +** Copyright (c) 2008 Gerco Ballintijn +** Copyright (c) 2008 Carlos López ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -247,7 +249,7 @@ Time::get_string(float fps, Time::Format format)const started = true; } - if(format<=FORMAT_FULL || frame || !started) + if(format<=FORMAT_FULL || abs(frame) > epsilon_() || !started) { if (!(format<=FORMAT_NOSPACES) && started) ret += " ";