Author: Carlos Lopez <[email protected]>
Date:   Sun Jul 24 10:02:19 2011 +0200

Fix two mistakes that luckily didn't produce any bug before.

---

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

diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp 
b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
index 4c68588..c4642ad 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -152,7 +152,7 @@ Advanced_Outline::sync()
                // used to draw sharp cusp on the last step.
                Vector first_tangent;
                // Used to remember first tangent only once
-               bool first;
+               bool first(true);
                // last tangent: used to remember second tangent of the 
previous bezier
                // when doing the cusp at the first blinepoint of the current 
bezier
                Vector last_tangent;
@@ -326,6 +326,7 @@ Advanced_Outline::sync()
                                        // There is always a widthpoint at the 
end (and start)
                                        // when it is blinelooped and 
interpolated on last blinepoint.
                                        // ... let's make the last cusp...
+                                       wnext=wplist.begin();
                                        if(blineloop && 
bnext->get_split_tangent_flag())
                                        {
                                                add_cusp(side_a, side_b, 
bnext->get_vertex(), first_tangent, deriv(1.0-CUSP_TANGENT_ADJUST), 
expand_+width_*0.5*widthpoint_interpolate(*witer, *wnext, ipos, smoothness_));


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to