ValueBase
ValueNode_TimeString::operator()(Time t)const
{
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
Time time((*time_)(t).get(Time()));
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: