When we create a 'Duplicate' layer, automatically have its parameter already converte...
[synfig.git] / synfig-core / trunk / src / synfig / layer_duplicate.cpp
index 69313d6..202a754 100644 (file)
@@ -63,6 +63,8 @@ SYNFIG_LAYER_SET_CVS_ID(Layer_Duplicate,"$Id$");
 Layer_Duplicate::Layer_Duplicate():
        Layer_Composite(1.0,Color::BLEND_COMPOSITE)
 {
+       LinkableValueNode* index_value_node = ValueNode_Duplicate::create(int(3));
+       connect_dynamic_param("index", index_value_node);
 }
 
 bool