From 5a91365e3115903088c822260bae81dd8813e639 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Sat, 8 Aug 2009 14:09:30 +0000 Subject: [PATCH] Ensure current_poly is cleared when going into select mode git-svn-id: http://svg-edit.googlecode.com/svn/trunk@367 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index fb4688ce..a0fccb63 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -926,6 +926,7 @@ function SvgCanvas(c) if (selectedElements.indexOf(t) == -1) { canvas.clearSelection(); canvas.addToSelection([t]); + current_poly = null; } // else if it's a poly, go into polyedit mode in mouseup }