John Cliff wrote:
Hi folks, I know the aim is to close bugs not open them, but I've found another "crashes it every time i do it" bug. Steps to crash inkscape are as follows:
create a rectangle, switch to path mode, convert it to path, select the 2 nodes on one side and hit the + a couple of times so you have one side divided into 4 sections. select 2 of the new nodes, and split the path, now select the same 2 nodes and hit tje join path at selectd nodes button, and voila, error box.
error on win2k reads: **ERROR**: file nodepath.cpp:line2778(void sp_nodepath_subpath_close(SPNodeSubPath*)): assertion failed: (sp->first->cpde == ART_MOVETO) aborting...
after which it bombs out.
entered in tracker as bug #900635
cheers
John
Got it. (I think) When splitting open a closed nodepath by removing segment(s), the first node of the resulting path must be an ART_MOVETO. Since the segment behind it is gone, it can't be anything else! ;) Yaaaay.
Committed. This should show up on the next build.
Bob