Hi, thanks a lot! Now there's another problem: 2geom/path.h:420:
do_update(get_curves().begin(), get_curves().end()-1, get_curves().begin(), get_curves().begin());
This is invalid as well. If I understand this correctly, it simply removes everything but the last element in the vector and then duplicates it? How would you fix this? :)
Regards, Markus
-----Ursprüngliche Nachricht----- Von: Krzysztof Kosiński [mailto:tweenk.pl@...400...] Gesendet: Dienstag, 25. März 2014 03:10 An: Markus Engel Cc: inkscape-devel Betreff: Re: [Inkscape-devel] Possible problem in Geom::Path
2014-03-25 1:51 GMT+01:00 Markus Engel <p637777@...1081...>:
So (at least) first_replaced is invalid in the second line.
Can anyone confirm this? Is there an easy workaround?
Yes, it looks like the code is invalid. An easy workaround is:
first_replaced = get_curves().erase(first_replaced, last_replaced); get_curves().insert(first_replaced, first, last);
Regards, Krzysztof