X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_navigator.cpp;h=62a18c3a98015d2fb611ec8bce4f769177f0401e;hb=1b2d22f4dd360e69d25d4cb8df830650b353e9fe;hp=6f88bbf420f99050273f7d60b2f563512faebdfc;hpb=dcc7b22cb61dd8a94fd6b6da4700d9483574ec34;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp b/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp index 6f88bbf..62a18c3 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp @@ -182,7 +182,6 @@ void studio::Widget_NavView::on_finish_render() //synfig::warning("Nav: It hath succeeded!!!"); //assert(renderer && renderer->has_success()); - DEBUGPOINT(); //synfig::warning("Nav: now we know it really succeeded"); if(!*surface) { @@ -260,10 +259,12 @@ static double zoom_to_unit(double f) bool studio::Widget_NavView::on_expose_draw(GdkEventExpose */*exp*/) { +#ifdef SINGLE_THREADED // don't redraw if the previous redraw is still running single-threaded // or we end up destroying the renderer that's rendering it if (App::single_threaded && renderer && renderer->updating) return false; +#endif //print out the zoom //HACK kind of...