X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fregion.cpp;h=75a9a1ecc5d513970e55eeb2a79670790c8a6439;hb=516e9c25ed8d8f840d3da146497181bd0518bf11;hp=8dbbcead2ac0ac09cd4fc868132efa1030f812fe;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;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 8dbbcea..75a9a1e 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/region.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/region.cpp @@ -2,6 +2,8 @@ /*! \file region.cpp ** \brief Template Header ** +** $Id$ +** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** @@ -155,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);