X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Ftarget_tile.cpp;h=24674bc91f72f0bc5cbb912971893e71cf866586;hb=82f8b521a55c8985cd0189c9c71940a7312eccaa;hp=7a411bb03136b52e9c3b36a82f6e0d6bbed79650;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/target_tile.cpp b/synfig-core/trunk/src/synfig/target_tile.cpp index 7a411bb..24674bc 100644 --- a/synfig-core/trunk/src/synfig/target_tile.cpp +++ b/synfig-core/trunk/src/synfig/target_tile.cpp @@ -2,7 +2,7 @@ /*! \file target_tile.cpp ** \brief Template File ** -** $Id: target_tile.cpp,v 1.2 2005/01/12 06:46:45 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -276,6 +276,7 @@ synfig::Target_Tile::render_frame_(Context context,ProgressCallback *cb) add_tile_time+=timer(); } tile_timer.reset(); + signal_progress()(); } } if(cb && !cb->amount_complete(total_tiles,total_tiles)) @@ -283,7 +284,7 @@ synfig::Target_Tile::render_frame_(Context context,ProgressCallback *cb) #if SYNFIG_DISPLAY_EFFICIENCY==1 synfig::info(">>>>>> Render Time: %fsec, Find Tile Time: %fsec, Add Tile Time: %fsec, Total Time: %fsec",work_time,find_tile_time,add_tile_time,total_time()); - synfig::info(">>>>>> FRAME EFICIENCY: %f%%",(100.0f*work_time/total_time())); + synfig::info(">>>>>> FRAME EFFICIENCY: %f%%",(100.0f*work_time/total_time())); #endif #undef total_tiles return true; @@ -307,7 +308,7 @@ synfig::Target_Tile::render(ProgressCallback *cb) curr_frame_=0; init(); if( !init() ){ - if(cb) cb->error(_("Target initialisation failure")); + if(cb) cb->error(_("Target initialization failure")); return false; }