X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fregion.cpp;h=75a9a1ecc5d513970e55eeb2a79670790c8a6439;hb=c99d377aa4707033745107db74afdb83adea9a59;hp=adaa6ebd0ce8801eda99cb0218715764edeb5e21;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/region.cpp b/synfig-core/trunk/src/modules/mod_geometry/region.cpp index adaa6eb..75a9a1e 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/region.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/region.cpp @@ -1,9 +1,9 @@ -/*! ======================================================================== -** Synfig /* === S Y N F I G ========================================================= */ /*! \file region.cpp ** \brief Template Header ** +** $Id$ +** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** @@ -62,7 +62,7 @@ SYNFIG_LAYER_SET_NAME(Region,"region"); SYNFIG_LAYER_SET_LOCAL_NAME(Region,_("Region")); SYNFIG_LAYER_SET_CATEGORY(Region,_("Geometry")); SYNFIG_LAYER_SET_VERSION(Region,"0.1"); -SYNFIG_LAYER_SET_CVS_ID(Region,"$Id: region.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(Region,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -157,11 +157,9 @@ Region::sync() } } - //add a single point onto the end so it actually fits the shape, so we can be awesome... + //add the starting point onto the end so it actually fits the shape, so we can be extra awesome... if(!looped) - { - vector_list.push_back(curve.p2()); - } + vector_list.push_back(segment_list[0].p1); clear(); add_polygon(vector_list);