X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_duplicate.h;h=b9d242952eba7c11d08194ffadcdfcd08c70d40a;hb=a33baad6f6c41d8c829d0b02509b99afc2fc7242;hp=ef663d1f56699dd85c1aa5e728a08f5e919bd525;hpb=c548bdf3c6b899415810f9f9438fcfd6769b78ce;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_duplicate.h b/synfig-core/trunk/src/synfig/valuenode_duplicate.h index ef663d1..b9d2429 100644 --- a/synfig-core/trunk/src/synfig/valuenode_duplicate.h +++ b/synfig-core/trunk/src/synfig/valuenode_duplicate.h @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -41,14 +41,14 @@ class ValueNode_Duplicate : public LinkableValueNode ValueNode::RHandle from_; ValueNode::RHandle to_; ValueNode::RHandle step_; - mutable int index; + mutable Real index; public: typedef etl::handle Handle; typedef etl::handle ConstHandle; ValueNode_Duplicate(const ValueBase::Type &x); - ValueNode_Duplicate(const ValueNode::Handle &x); + ValueNode_Duplicate(const ValueBase &x); virtual ValueBase operator()(Time t)const; void reset_index(Time t)const;