Allow plant blines to have 2 points in them. Previously a minimum of 3 was enforced...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:11:48 +0000 (19:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:11:48 +0000 (19:11 +0000)
git-svn-id: http://svn.voria.com/code@621 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_particle/plant.cpp

index 66d78b8..bb23a39 100644 (file)
@@ -145,7 +145,7 @@ Plant::calc_bounding_rect()const
        bounding_rect=Rect::zero();
 
        // Bline must have at least 2 points in it
-       if(bline.size()<=2)
+       if(bline.size()<2)
                return;
 
        next=bline.begin();
@@ -177,7 +177,7 @@ Plant::sync()const
        bounding_rect=Rect::zero();
 
        // Bline must have at least 2 points in it
-       if(bline.size()<=2)
+       if(bline.size()<2)
                return;
 
        std::vector<synfig::BLinePoint>::const_iterator iter,next;