Build rectanglular blines in the same handedness as all the other shapes.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 4 Nov 2008 14:44:38 +0000 (14:44 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 4 Nov 2008 14:44:38 +0000 (14:44 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2146 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 60bbc87..a6c3ddf 100644 (file)
@@ -490,8 +490,8 @@ StateRectangle_Context::make_rectangle(const Point& _p1, const Point& _p2)
        {
                new_list.push_back(*(new BLinePoint));
                new_list[i].set_width(1);
-               new_list[i].set_vertex(Point((i==0||i==1)?x_min:x_max,
-                                                                        (i==0||i==3)?y_min:y_max));
+               new_list[i].set_vertex(Point((i==0||i==3)?x_min:x_max,
+                                                                        (i==0||i==1)?y_min:y_max));
                new_list[i].set_tangent(Point(0,0));
        }