Author: Carlos Lopez <genet...@gmail.com> Date: Thu Jul 21 18:00:14 2011 +0200
Return homogeneous as internal parameter for the WPList and not a Value Node --- 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 9b7c228..ff10db4 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) } -ValueNode::LooseHandle +bool ValueNode_WPList::get_homogeneous()const { return homogeneous_; } void -ValueNode_WPList::set_homogeneous(ValueNode::Handle h) +ValueNode_WPList::set_homogeneous(bool h) { homogeneous_=h; } diff --git a/synfig-core/src/synfig/valuenode_wplist.h b/synfig-core/src/synfig/valuenode_wplist.h index dd2423f..7ab257b 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. - ValueNode::RHandle homogeneous_; + bool 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 - ValueNode::LooseHandle get_homogeneous() const; + bool get_homogeneous() const; //! Sets the homogenous value - void set_homogeneous(ValueNode::Handle h); + void set_homogeneous(bool h); protected: ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl