Fix bug when in polyedit mode and clicking the Poly tool, would add points to the current poly being edited
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@396 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
a389a0936f
commit
8923f6d746
|
@ -1875,6 +1875,11 @@ function SvgCanvas(c)
|
||||||
current_poly = null;
|
current_poly = null;
|
||||||
current_poly_pts = [];
|
current_poly_pts = [];
|
||||||
}
|
}
|
||||||
|
else if (current_mode == "polyedit") {
|
||||||
|
removeAllPointGripsFromPoly();
|
||||||
|
current_poly = null;
|
||||||
|
current_poly_pts = [];
|
||||||
|
}
|
||||||
current_mode = name;
|
current_mode = name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue