Remove the declaration and definition of ValueNode_BLine::clone() since the parent...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:30:25 +0000 (15:30 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:30:25 +0000 (15:30 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2231 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_bline.cpp
synfig-core/trunk/src/synfig/valuenode_bline.h

index 4f0b923..55b19bb 100644 (file)
@@ -814,35 +814,6 @@ ValueNode_BLine::link_local_name(int i)const
        return etl::strprintf(_("Vertex %03d"),i+1);
 }
 
-ValueNode*
-ValueNode_BLine::clone(const GUID& deriv_guid)const
-{
-       { ValueNode* x(find_value_node(get_guid()^deriv_guid).get()); if(x)return x; }
-
-       ValueNode_BLine* ret=new ValueNode_BLine();
-       ret->set_guid(get_guid()^deriv_guid);
-
-       std::vector<ListEntry>::const_iterator iter;
-
-       for(iter=list.begin();iter!=list.end();++iter)
-       {
-               if(iter->value_node->is_exported())
-                       ret->add(*iter);
-               else
-               {
-                       ListEntry list_entry(*iter);
-                       //list_entry.value_node=find_value_node(iter->value_node->get_guid()^deriv_guid).get();
-                       //if(!list_entry.value_node)
-                               list_entry.value_node=iter->value_node->clone(deriv_guid);
-                       ret->add(list_entry);
-                       //ret->list.back().value_node=iter->value_node.clone();
-               }
-       }
-       ret->set_loop(get_loop());
-
-       return ret;
-}
-
 String
 ValueNode_BLine::get_name()const
 {
index 915d262..4599d26 100644 (file)
@@ -79,8 +79,6 @@ public:
        virtual String get_name()const;
        virtual String get_local_name()const;
 
-       virtual ValueNode* clone(const GUID& deriv_guid=GUID())const;
-
        virtual ListEntry create_list_entry(int index, Time time=0, Real origin=0.5);
 
 protected: