From cc40453812ad15727a94bf91371facf1e18d1d4e Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 2 Oct 2007 14:28:52 +0000 Subject: [PATCH] Changing the time slider on a child canvas wasn't updating the grandchild canvas' time slider. Now it does. git-svn-id: http://svn.voria.com/code@813 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/canvasinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp index ba49e88..825284c 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp @@ -106,7 +106,7 @@ CanvasInterface::set_time(synfig::Time x) get_canvas()->set_time(cur_time_=x); // update the time in all the child canvases - Canvas::Children children = get_canvas()->children(); + Canvas::Children children = get_canvas()->get_root()->children(); for (Canvas::Children::iterator iter = children.begin(); iter != children.end(); iter++) if (handle interface = get_instance()->find_canvas_interface(*iter)) interface->set_time(interface->get_canvas()->get_time()); -- 2.7.4