# HG changeset patch # User Thinker K.F. Li # Date 1281669049 -28800 # Node ID d950487bd9f98519c74882257dbc8d4d350ae511 # Parent 3457519e3b9c8e28e1f24015eecebbc842bb65c9 Flush mb_rt, immediately, after redraw_all() diff -r 3457519e3b9c -r d950487bd9f9 nodejs/svg.js --- a/nodejs/svg.js Fri Aug 13 08:16:18 2010 +0800 +++ b/nodejs/svg.js Fri Aug 13 11:10:49 2010 +0800 @@ -309,3 +309,4 @@ MB_loadSVG(mb_rt,mb_rt.root,"test.svg"); mb_rt.redraw_all(); +mb_rt.flush(); diff -r 3457519e3b9c -r d950487bd9f9 nodejs/testcase.js --- a/nodejs/testcase.js Fri Aug 13 08:16:18 2010 +0800 +++ b/nodejs/testcase.js Fri Aug 13 11:10:49 2010 +0800 @@ -50,6 +50,7 @@ coord.add_shape(stext); mb_rt.redraw_all(); +mb_rt.flush(); var i = 0; setInterval(function() {