From: Carlos Lopez Date: Tue, 24 Aug 2010 15:17:03 +0000 (+0200) Subject: As Paste Canvas Layer doesn't use IMPORT macro it is needed to set the static option... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1c061eff3206a1b89533d892bd8b865f165b4cc0;p=synfig.git As Paste Canvas Layer doesn't use IMPORT macro it is needed to set the static option manually. --- diff --git a/synfig-core/src/synfig/layer_pastecanvas.cpp b/synfig-core/src/synfig/layer_pastecanvas.cpp index 733e7fe..1f3976a 100644 --- a/synfig-core/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/src/synfig/layer_pastecanvas.cpp @@ -184,9 +184,9 @@ Layer_PasteCanvas::set_param(const String & param, const ValueBase &value) if(param=="canvas" && value.same_type_as(Canvas::Handle())) { set_sub_canvas(value.get(Canvas::Handle())); + set_param_static(param, value.get_static()); return true; } - //! \todo this introduces bug 1844764 if enabled; it was introduced in r954. // http://synfig.org/images/3/3d/Moving-waypoints.sifz is an // example of an animation that has its waypoints displayed