Author: Carlos Lopez <genet...@gmail.com>
Date:   Tue Mar 22 16:39:09 2011 +0100

Fix bad render in some special situations

---

 .../src/modules/mod_geometry/advanced_outline.cpp  |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp 
b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
index 1a7115f..05b7be2 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -254,6 +254,11 @@ Advanced_Outline::sync()
                                // Update wplist iterators
                                witer=wnext;
                                wnext++;
+                               // increase ipos so we do attempt to do the 
next interpolation segment.
+                               // fix bad render when first widhtpoint is not 
interpolate after and
+                               // next widhtpoint is interpolate before. 
Noticiable for the FLAT case
+                               // or when the width is smaller than the step 
on the bezier.
+                               ipos=ipos+step;
                                // If we are at the last widthpoint then end
                                if(wnext==wend)
                                        break;


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to