Oops. TCB is called "auto" in the SIF file.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 17 Sep 2007 15:59:35 +0000 (15:59 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 17 Sep 2007 15:59:35 +0000 (15:59 +0000)
git-svn-id: http://svn.voria.com/code@693 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/savecanvas.cpp

index 18224df..bff17b0 100644 (file)
@@ -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");