From 8821e60616b88ba3822c22c5b9d9c4e55a73a9d3 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Wed, 21 Jan 2015 22:10:33 -0800 Subject: [PATCH] fix bugs --- web/app/sketch/segment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/sketch/segment.js b/web/app/sketch/segment.js index a56d279b..9f86b3a5 100644 --- a/web/app/sketch/segment.js +++ b/web/app/sketch/segment.js @@ -69,6 +69,7 @@ TCAD.TWO.AddSegmentTool.prototype.keydown = function(e) { if (this.multi && this.line != null && e.keyCode == 27) { this.viewer.remove(this.line); this.viewer.refresh(); + this.cleanup(null); } };