Author: Carlos Lopez <genet...@gmail.com>
Date:   Fri Mar  1 18:17:35 2013 +0100

Fix bug: when requested to render only one frame it wrongly renders the frame 
at time t=0. With the fix it renders the correct requested frame.

---

 synfig-core/src/synfig/target_cairo.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/src/synfig/target_cairo.cpp 
b/synfig-core/src/synfig/target_cairo.cpp
index f247831..4dae633 100644
--- a/synfig-core/src/synfig/target_cairo.cpp
+++ b/synfig-core/src/synfig/target_cairo.cpp
@@ -103,7 +103,7 @@ synfig::Target_Cairo::render(ProgressCallback *cb)
        try {
                do{
                        // Grab the time
-                       if(total_frames>1)
+                       if(total_frames>=1)
                                frames=next_frame(t);
                        else
                                frames=0;


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to