*
* Added "offset", "scale", and "fixed_length" links to the
* "BLine Tangent" ValueNode.
+ *
+ * 0.6: svn r2067
+ *
+ * Added "scale" link to the "BLine Width" ValueNode in svn r1872.
+ *
+ * Added "loop" link to the "Gradient Color" ValueNode in svn r1901.
*/
-#define CURRENT_CANVAS_VERSION "0.5"
+#define CURRENT_CANVAS_VERSION "0.6"
/* === T Y P E D E F S ===================================================== */
value_node->link_name(i) == "fixed_length"))
continue;
+ // 'scale' was added while canvas version 0.5 was in use
+ if ((version == "0.3" || version == "0.4" || version == "0.5") &&
+ element->get_name() == "blinecalcwidth" &&
+ value_node->link_name(i) == "scale")
+ continue;
+
+ // 'loop' was added while canvas version 0.5 was in use, as was the 'gradientcolor' node type
+ if (version == "0.5" &&
+ element->get_name() == "gradientcolor" &&
+ value_node->link_name(i) == "loop")
+ continue;
+
error(element, strprintf(_("<%s> is missing link %d (%s)"),
element->get_name().c_str(),
i,