From 209ad51fc6efd86d1f472a1814a98fee7e75bb6c Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Wed, 30 May 2012 09:49:57 -0700 Subject: working version of the pen plus subtool --- js/tools/PenTool.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/tools') diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index 2974d37b..0532bdb3 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js @@ -418,6 +418,10 @@ exports.PenTool = Montage.create(ShapeTool, { this._removeSelectedAnchorPoint(); return; } + if (this._subtool === this.SUBTOOL_PENPLUS){ + //nothing to do for the pen plus subtool + return; + } //if we're in ENTRY_SELECT_PATH mode AND we have not yet clicked on the endpoint AND if we have now clicked on the endpoint if (this._entryEditMode === this.ENTRY_SELECT_PATH && this._isPickedEndPointInSelectPathMode === false){ var selAnchorIndex = this._selectedSubpath.getSelectedAnchorIndex(); -- cgit v1.2.3