Author: Carlos Lopez <[email protected]>
Date:   Sun Oct  9 20:06:35 2011 +0200

Fix wrong widthpoint position shift value needed when drawing a complete loop

---

 synfig-studio/src/gui/states/state_draw.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/src/gui/states/state_draw.cpp 
b/synfig-studio/src/gui/states/state_draw.cpp
index 0c576fe..3b902b3 100644
--- a/synfig-studio/src/gui/states/state_draw.cpp
+++ b/synfig-studio/src/gui/states/state_draw.cpp
@@ -808,7 +808,7 @@ StateDraw_Context::process_stroke(StrokeData stroke_data, 
WidthData width_data,
                        std::list<synfig::WidthPoint>::iterator iter;
                        if(get_advanced_outline_flag())
                                for(iter=wplist.begin(); iter!=wplist.end(); 
iter++)
-                                       
iter->set_position(iter->get_position()+1/size);
+                                       
iter->set_position(iter->get_position()+1/(size-1));
                }
 
                
if(abs(bline.front().get_tangent1().norm()*tangent.norm().perp())>SIMILAR_TANGENT_THRESHOLD)


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to