From 28ce5c8b2bdc4a81c74d87ce2052ed3db4829f35 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 9 Apr 2008 21:16:59 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/synfig/valuenode_timestring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.7.4