From 82f8b521a55c8985cd0189c9c71940a7312eccaa Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 20 Dec 2007 17:03:28 +0000 Subject: [PATCH] Comment out an unused function. git-svn-id: http://svn.voria.com/code@1222 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer.cpp | 2 ++ synfig-core/trunk/src/synfig/layer.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/synfig-core/trunk/src/synfig/layer.cpp b/synfig-core/trunk/src/synfig/layer.cpp index 8d6550d..e9572c5 100644 --- a/synfig-core/trunk/src/synfig/layer.cpp +++ b/synfig-core/trunk/src/synfig/layer.cpp @@ -288,6 +288,7 @@ Layer::get_z_depth(const synfig::Time& t)const return (*dynamic_param_list().find("z_depth")->second)(t).get(Real()); } +#ifdef THIS_CODE_IS_NOT_USED Layer* Layer::simple_clone()const { @@ -298,6 +299,7 @@ Layer::simple_clone()const ret->set_param_list(get_param_list()); return ret; } +#endif /* THIS_CODE_IS_NOT_USED */ Layer::Handle Layer::clone(const GUID& deriv_guid) const diff --git a/synfig-core/trunk/src/synfig/layer.h b/synfig-core/trunk/src/synfig/layer.h index a3ae3b7..1344910 100644 --- a/synfig-core/trunk/src/synfig/layer.h +++ b/synfig-core/trunk/src/synfig/layer.h @@ -418,8 +418,10 @@ public: //! Duplicates the Layer virtual Handle clone(const GUID& deriv_guid=GUID())const; +#ifdef THIS_CODE_IS_NOT_USED //! Duplicates the Layer without duplicating the value nodes virtual Layer *simple_clone()const; +#endif /* THIS_CODE_IS_NOT_USED */ protected: -- 2.7.4