If we draw a polygon under some transform layers, the polygon layer itself (as oppose...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 13 Nov 2008 19:55:08 +0000 (19:55 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 13 Nov 2008 19:55:08 +0000 (19:55 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2194 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/state_polygon.cpp

index 8b17cd0..494928e 100644 (file)
@@ -500,9 +500,10 @@ StatePolygon_Context::run()
        int i;
        for(i=0,iter=polygon_point_list.begin();iter!=polygon_point_list.end();++iter,++i)
        {
+               *iter = transform.unperform(*iter);
                new_list.push_back(*(new BLinePoint));
                new_list[i].set_width(1);
-               new_list[i].set_vertex(transform.unperform(*iter));
+               new_list[i].set_vertex(*iter);
                new_list[i].set_tangent(Point(0,0));
        }