X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_duplicate.cpp;h=202a754ce416d3ec5bc47d86d1604be2034531fb;hb=c3e45b84cbe115d9a8d216f1ce99d06fdd49ccca;hp=69313d6f45623eb9ff997a424f662edff0346381;hpb=c548bdf3c6b899415810f9f9438fcfd6769b78ce;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_duplicate.cpp b/synfig-core/trunk/src/synfig/layer_duplicate.cpp index 69313d6..202a754 100644 --- a/synfig-core/trunk/src/synfig/layer_duplicate.cpp +++ b/synfig-core/trunk/src/synfig/layer_duplicate.cpp @@ -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