Author: Carlos Lopez <[email protected]>
Date:   Mon Jul 18 21:34:33 2011 +0200

Use a value node to allow make it animatable.

---

 synfig-core/src/synfig/valuenode_wplist.cpp |    4 ++--
 synfig-core/src/synfig/valuenode_wplist.h   |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/synfig-core/src/synfig/valuenode_wplist.cpp 
b/synfig-core/src/synfig/valuenode_wplist.cpp
index ff10db4..9b7c228 100644
--- a/synfig-core/src/synfig/valuenode_wplist.cpp
+++ b/synfig-core/src/synfig/valuenode_wplist.cpp
@@ -445,14 +445,14 @@ ValueNode_WPList::set_bline(ValueNode::Handle b)
 }
 
 
-bool
+ValueNode::LooseHandle
 ValueNode_WPList::get_homogeneous()const
 {
        return homogeneous_;
 }
 
 void
-ValueNode_WPList::set_homogeneous(bool h)
+ValueNode_WPList::set_homogeneous(ValueNode::Handle h)
 {
        homogeneous_=h;
 }
diff --git a/synfig-core/src/synfig/valuenode_wplist.h 
b/synfig-core/src/synfig/valuenode_wplist.h
index 7ab257b..dd2423f 100644
--- a/synfig-core/src/synfig/valuenode_wplist.h
+++ b/synfig-core/src/synfig/valuenode_wplist.h
@@ -66,7 +66,7 @@ private:
        ValueNode::RHandle bline_;
        //! This member defines whether the widhtpoint uses the bline's length 
to
        //! calculate the position of a widthpoint.
-       bool homogeneous_;
+       ValueNode::RHandle homogeneous_;
 public:
 
        typedef etl::handle<ValueNode_WPList> Handle;
@@ -109,9 +109,9 @@ public:
        //! Sets the bline RHandle
        void set_bline(ValueNode::Handle b);
        //! Gets the homogenous value
-       bool get_homogeneous() const;
+       ValueNode::LooseHandle get_homogeneous() const;
        //! Sets the homogenous value
-       void set_homogeneous(bool h);
+       void set_homogeneous(ValueNode::Handle h);
 
 protected:
 


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to