Use a real type, not integer, for the "Duplicate" layer's index parameter.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_duplicate.h
index 5dc8693..c55a90d 100644 (file)
@@ -41,7 +41,7 @@ class ValueNode_Duplicate : public LinkableValueNode
        ValueNode::RHandle from_;
        ValueNode::RHandle to_;
        ValueNode::RHandle step_;
-       mutable int index;
+       mutable Real index;
 
 public:
        typedef etl::handle<ValueNode_Duplicate> Handle;