aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/PenTool.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js
index bb163202..1536a334 100755
--- a/js/tools/PenTool.js
+++ b/js/tools/PenTool.js
@@ -577,8 +577,8 @@ exports.PenTool = Montage.create(ShapeTool, {
577 localTranslation = VecUtils.vecSubtract(3, localMousePos, selAnchorPos[0]); 577 localTranslation = VecUtils.vecSubtract(3, localMousePos, selAnchorPos[0]);
578 selAnchor.translatePrev(localTranslation[0], localTranslation[1], localTranslation[2]); 578 selAnchor.translatePrev(localTranslation[0], localTranslation[1], localTranslation[2]);
579 if (!this._isAltDown){ 579 if (!this._isAltDown){
580 //selAnchor.translateNextFromPrev(localTranslation[0], localTranslation[1], localTranslation[2]); 580 selAnchor.translateNextFromPrev(localTranslation[0], localTranslation[1], localTranslation[2]);
581 selAnchor.setNextFromPrev(); 581 //selAnchor.setNextFromPrev();
582 } 582 }
583 } 583 }
584 else if (this._editMode & this.EDIT_NEXT) { 584 else if (this._editMode & this.EDIT_NEXT) {
@@ -586,8 +586,8 @@ exports.PenTool = Montage.create(ShapeTool, {
586 //move the prev point if Alt key is down to ensure relative angle between prev and next 586 //move the prev point if Alt key is down to ensure relative angle between prev and next
587 selAnchor.translateNext(localTranslation[0], localTranslation[1], localTranslation[2]); 587 selAnchor.translateNext(localTranslation[0], localTranslation[1], localTranslation[2]);
588 if (!this._isAltDown){ 588 if (!this._isAltDown){
589 //selAnchor.translatePrevFromNext(localTranslation[0], localTranslation[1], localTranslation[2]); 589 selAnchor.translatePrevFromNext(localTranslation[0], localTranslation[1], localTranslation[2]);
590 selAnchor.setPrevFromNext(); 590 //selAnchor.setPrevFromNext();
591 } 591 }
592 } 592 }
593 else if (this._editMode & this.EDIT_PREV_NEXT) { 593 else if (this._editMode & this.EDIT_PREV_NEXT) {