From: dooglus Date: Mon, 17 Sep 2007 15:59:35 +0000 (+0000) Subject: Oops. TCB is called "auto" in the SIF file. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=01665fbe64b429c0c752c4d02eedd6c12532a44a;p=synfig.git Oops. TCB is called "auto" in the SIF file. git-svn-id: http://svn.voria.com/code@693 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/savecanvas.cpp b/synfig-core/trunk/src/synfig/savecanvas.cpp index 18224df..bff17b0 100644 --- a/synfig-core/trunk/src/synfig/savecanvas.cpp +++ b/synfig-core/trunk/src/synfig/savecanvas.cpp @@ -300,7 +300,7 @@ xmlpp::Element* encode_animated(xmlpp::Element* root,ValueNode_Animated::ConstHa case INTERPOLATION_TCB: // This is the default value, so don't add a new attribute (unless it's an angle - they default to linear) if (value_node->get_type() == ValueBase::TYPE_ANGLE) - waypoint_node->set_attribute("before","tcb"); + waypoint_node->set_attribute("before","auto"); break; default: error("Unknown waypoint type for \"before\" attribute"); @@ -325,7 +325,7 @@ xmlpp::Element* encode_animated(xmlpp::Element* root,ValueNode_Animated::ConstHa case INTERPOLATION_TCB: // This is the default value, so don't add a new attribute (unless it's an angle - they default to linear) if (value_node->get_type() == ValueBase::TYPE_ANGLE) - waypoint_node->set_attribute("after","tcb"); + waypoint_node->set_attribute("after","auto"); break; default: error("Unknown waypoint type for \"after\" attribute");