X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fregion.cpp;h=75a9a1ecc5d513970e55eeb2a79670790c8a6439;hb=56f5b6b1728428492dc91a1551cd5efe240727ee;hp=98fa7e5f435f8b300e4f10b9636e1cca68fa3980;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;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 98fa7e5..75a9a1e 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/region.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/region.cpp @@ -1,8 +1,10 @@ -/*! ======================================================================== -** Synfig -** Template File -** $Id: region.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file region.cpp +** \brief Template Header ** +** $Id$ +** +** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** ** This package is free software; you can redistribute it and/or @@ -14,6 +16,7 @@ ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -59,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 ================================================= */ @@ -154,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);