From: dooglus Date: Wed, 9 Apr 2008 21:16:59 +0000 (+0000) Subject: Use the framerate from the root canvas, not the parent canvas. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=28ce5c8b2bdc4a81c74d87ce2052ed3db4829f35;p=synfig.git Use the framerate from the root canvas, not the parent canvas. git-svn-id: http://svn.voria.com/code@2006 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/valuenode_timestring.cpp b/synfig-core/trunk/src/synfig/valuenode_timestring.cpp index 628b504..d5f6435 100644 --- a/synfig-core/trunk/src/synfig/valuenode_timestring.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_timestring.cpp @@ -91,8 +91,8 @@ ValueNode_TimeString::operator()(Time t)const switch (get_type()) { case ValueBase::TYPE_STRING: - if (get_parent_canvas()) - return time.get_string(get_parent_canvas()->rend_desc().get_frame_rate()); + if (get_root_canvas()) + return time.get_string(get_root_canvas()->rend_desc().get_frame_rate()); else return time.get_string(); default: