Revision: 2194
          http://synfig.svn.sourceforge.net/synfig/?rev=2194&view=rev
Author:   dooglus
Date:     2008-11-13 19:55:08 +0000 (Thu, 13 Nov 2008)

Log Message:
-----------
If we draw a polygon under some transform layers, the polygon layer itself (as 
opposed to any bline layers created simultaneously) is misplaced.  This fixes 
the positioning.

Modified Paths:
--------------
    synfig-studio/trunk/src/gtkmm/state_polygon.cpp

Modified: synfig-studio/trunk/src/gtkmm/state_polygon.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_polygon.cpp     2008-11-13 19:54:36 UTC 
(rev 2193)
+++ synfig-studio/trunk/src/gtkmm/state_polygon.cpp     2008-11-13 19:55:08 UTC 
(rev 2194)
@@ -500,9 +500,10 @@
        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));
        }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to