From: Carlos Lopez Date: Tue, 24 Aug 2010 16:08:52 +0000 (+0200) Subject: Fix time offset parameter static option X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=commitdiff_plain;h=6612ced05a48e176c5bc9e291152b5d8ae4fbf38 Fix time offset parameter static option --- diff --git a/synfig-core/src/synfig/layer_pastecanvas.cpp b/synfig-core/src/synfig/layer_pastecanvas.cpp index 1f3976a..1eea2e9 100644 --- a/synfig-core/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/src/synfig/layer_pastecanvas.cpp @@ -580,7 +580,7 @@ Layer_PasteCanvas::set_param_static(const String ¶m, const bool x) SET_STATIC(focus, x) SET_STATIC(canvas, x) SET_STATIC(zoom, x) - SET_STATIC(offset, x) + SET_STATIC(time_offset, x) SET_STATIC(children_lock, x) return Layer_Composite::set_param_static(param, x); @@ -594,7 +594,7 @@ Layer_PasteCanvas::get_param_static(const String ¶m) const GET_STATIC(focus) GET_STATIC(canvas) GET_STATIC(zoom) - GET_STATIC(offset) + GET_STATIC(time_offset) GET_STATIC(children_lock) return Layer_Composite::get_param_static(param); diff --git a/synfig-core/src/synfig/layer_pastecanvas.h b/synfig-core/src/synfig/layer_pastecanvas.h index deb951f..73c0d83 100644 --- a/synfig-core/src/synfig/layer_pastecanvas.h +++ b/synfig-core/src/synfig/layer_pastecanvas.h @@ -80,7 +80,7 @@ private: bool focus_static; bool canvas_static; bool zoom_static; - bool offset_static; + bool time_offset_static; bool children_lock_static; // Nasty hack: Remember whether we called an extra ref() when