From: dooglus Date: Mon, 17 Sep 2007 12:24:08 +0000 (+0000) Subject: The View>Play menu entry now does something. It doesn't work particularly well,... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=dca7076317079ed0ebc157e77e2e9cd529d7c26b;p=synfig.git The View>Play menu entry now does something. It doesn't work particularly well, but on simple animations it works. git-svn-id: http://svn.voria.com/code@688 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 01b9a0a..661774f 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -2318,7 +2318,6 @@ again: dirty=false; get_canvas_view()->reset_cancel_status(); - bool ret=false; RendDesc desc=get_canvas()->rend_desc(); //newdesc->set_flags(RendDesc::PX_ASPECT|RendDesc::IM_SPAN); @@ -2345,7 +2344,7 @@ again: if(cb) cb->task(strprintf("Rendering canvas %s...",get_canvas()->get_name().c_str())); - target->render(cb); + bool ret = target->render(cb); if(!ret && !get_canvas_view()->get_cancel_status() && dirty) {