diff --git a/modules/gfx/src/impl/cartoon_renderer.cc b/modules/gfx/src/impl/cartoon_renderer.cc index 97ea050a53186c420de3390cd1f1797a9ff80f93..354a4499ac1083c4f35f9d2a891532e5a38522d8 100644 --- a/modules/gfx/src/impl/cartoon_renderer.cc +++ b/modules/gfx/src/impl/cartoon_renderer.cc @@ -237,6 +237,8 @@ void CartoonRenderer::fudge_spline_obj(SplineEntryListList& olistlist) for(;lc<olist.size() && olist.at(lc).type==1;++lc) { nlist.push_back(olist.at(lc)); } + // and remove the last one (better graphical appearance) + nlist.back().type=0; } } if(lc>=olist.size()) break;