Allow direct editing of calculated widths - like the previous commit did for tangents.
[synfig.git] / synfig-studio / trunk / src / synfigapp / instance.cpp
index 5d143e9..92fd239 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -38,6 +38,9 @@
 #include <synfig/valuenode_composite.h>
 #include <synfig/valuenode_radialcomposite.h>
 #include <synfig/valuenode_reference.h>
+#include <synfig/valuenode_blinecalctangent.h>
+#include <synfig/valuenode_blinecalcvertex.h>
+#include <synfig/valuenode_blinecalcwidth.h>
 #include <map>
 
 #include "general.h"
@@ -67,6 +70,9 @@ synfigapp::is_editable(synfig::ValueNode::Handle value_node)
                || ValueNode_Composite::Handle::cast_dynamic(value_node)
                || ValueNode_RadialComposite::Handle::cast_dynamic(value_node)
                || ValueNode_Reference::Handle::cast_dynamic(value_node)
+               || ValueNode_BLineCalcVertex::Handle::cast_dynamic(value_node)
+               || ValueNode_BLineCalcTangent::Handle::cast_dynamic(value_node)
+               || ValueNode_BLineCalcWidth::Handle::cast_dynamic(value_node)
        )
                return true;
        return false;