Module: synfig/synfig Branch: master Commit: 3d1c302c92906f495ffddd9bf295b20083fec3df URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=3d1c302c92906f495ffddd9bf295b20083fec3df
Author: Carlos Lopez <[email protected]> Date: Mon Dec 13 19:33:15 2010 +0100 Do not use get_param_vocab().size() as link counter. It is too slow. --- synfig-core/src/synfig/valuenode.cpp | 8 -------- synfig-core/src/synfig/valuenode.h | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/synfig-core/src/synfig/valuenode.cpp b/synfig-core/src/synfig/valuenode.cpp index da9c45c..b423afc 100644 --- a/synfig-core/src/synfig/valuenode.cpp +++ b/synfig-core/src/synfig/valuenode.cpp @@ -669,11 +669,3 @@ LinkableValueNode::get_description(int index, bool show_exported_name)const return description; } -/* -int -LinkableValueNode::link_count()const -{ - Vocab ret(get_param_vocab()); - return ret.size(); -} -*/ diff --git a/synfig-core/src/synfig/valuenode.h b/synfig-core/src/synfig/valuenode.h index d0daf78..61b5d6a 100644 --- a/synfig-core/src/synfig/valuenode.h +++ b/synfig-core/src/synfig/valuenode.h @@ -337,6 +337,9 @@ public: */ typedef std::map<String,BookEntry> Book; + //! The vocabulary of the children + /*! \see synfig::Paramdesc + */ typedef ParamVocab Vocab; static Book& book(); ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
