** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright 2006 Yue Shi Lai
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
// don't leave the render function queued if we are about to vanish;
// that causes crashes
if(render_idle_func_id)
- {
- synfig::info("g_source_remove() returns %d", g_source_remove(render_idle_func_id));
render_idle_func_id=0;
- } else
- synfig::info("no render_idle_func_id to clear\n");
}
void
bool
studio::WorkArea::async_update_preview()
{
+ if (async_renderer && async_renderer->updating == true)
+ {
+ async_renderer->stop();
+ return false;
+ }
+
async_renderer=0;
queued=false;