From: <ro...@sy...> - 2011-03-28 19:08:25
|
Author: Carlos Lopez <gen...@gm...> 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; |