refresh on remove

This commit is contained in:
Val Erastov 2014-10-28 00:25:17 -07:00
parent c20fc42522
commit 95d231378d

View file

@ -67,6 +67,7 @@ TCAD.TWO.AddSegmentTool.prototype.mousewheel = function(e) {
TCAD.TWO.AddSegmentTool.prototype.keydown = function(e) {
if (this.multi && e.keyCode == 27) {
this.viewer.remove(this.line);
this.viewer.refresh();
}
};