Author: Carlos Lopez <[email protected]>
Date: Wed Aug 10 20:47:18 2011 +0200
Merge the filtered list with the current one
---
.../src/modules/mod_geometry/advanced_outline.cpp | 12 ++++++++++++
1 files changed, 12 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 b3ec3a2..04b9329 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -412,6 +412,18 @@ Advanced_Outline::sync()
dwiter=fdwplist.begin();
for(;dwiter!=fdwplist.end();dwiter++)
dwiter->set_dash(true);
+ // Merge the filtered list with the
current one.
+ dwiter=fdwplist.begin();
+ for(;dwiter!=fdwplist.end();dwiter++)
+ wplist.push_back(*dwiter);
+ // sort again the wplist
+ sort(wplist.begin(),wplist.end());
+ dwiter=wplist.begin();
+ //////////////
+ synfig::info("-------after filter and
merge");
+ for(;dwiter!=wplist.end();dwiter++)
+ synfig::info("P:%f W:%f B:%d
A:%d D%d", dwiter->get_norm_position(), dwiter->get_width(),
dwiter->get_side_type_before(), dwiter->get_side_type_after(),
dwiter->get_dash());
+ synfig::info("------");
} // if dashes_length > EPSILON
} // if blinelength > EPSILON
} ////////////////////////////////////////////// if dash_enabled
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl