Module: synfig/synfig Branch: genete_width_outline Commit: 91a384c0a9b6f9ab64451aeeaeecef28972a78fb URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=91a384c0a9b6f9ab64451aeeaeecef28972a78fb
Author: Carlos Lopez <genet...@gmail.com> Date: Wed Jan 19 17:32:18 2011 +0100 Don't let create() method allow convert blines to wplists. That will cause bad types for the layer. --- synfig-core/src/synfig/valuenode_wplist.cpp | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/synfig-core/src/synfig/valuenode_wplist.cpp b/synfig-core/src/synfig/valuenode_wplist.cpp index ed019b3..8309efa 100644 --- a/synfig-core/src/synfig/valuenode_wplist.cpp +++ b/synfig-core/src/synfig/valuenode_wplist.cpp @@ -132,16 +132,6 @@ ValueNode_WPList::create(const ValueBase &value) value_node->set_loop(value.get_loop()); } break; - case ValueBase::TYPE_BLINEPOINT: - { - // this will create a standard list of width points - ValueBase value_base(convert_bline_to_wplist(value)); - std::vector<WidthPoint> wplist(value_base.get_list().begin(), value_base.get_list().end()); - // and then let's call again the create method to convert the - // standard list of widthpoints to a ValueNode_WPList - return create(wplist); - } - break; default: // We got a list of who-knows-what. We don't have any idea // what to do with it. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl