aboutsummaryrefslogtreecommitdiff
path: root/js/tools/modifier-tool-base.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-02 16:58:54 -0700
committerNivesh Rajbhandari2012-04-02 16:58:54 -0700
commitbf815cbda0f7a4f2b8ca9532745fa525ed60c8d3 (patch)
tree9781d70bb21eeecd753e579db00d79f5eeca2360 /js/tools/modifier-tool-base.js
parent3f30c5ae31f0079162befc1eec6241141cbc79ce (diff)
downloadninja-bf815cbda0f7a4f2b8ca9532745fa525ed60c8d3.tar.gz
IKNinja-1376 - 3D values reverted when using Selection tool to move the object. (Only happen when 3D values set in PI)
We need to update the undo array for the tool if values are changed outside the active tool. I think this was the same bug causing IKNinja-1411. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-xjs/tools/modifier-tool-base.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js
index 94b806fd..f58ecb53 100755
--- a/js/tools/modifier-tool-base.js
+++ b/js/tools/modifier-tool-base.js
@@ -448,6 +448,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
448 { 448 {
449 this.isDrawing = true; 449 this.isDrawing = true;
450 this.application.ninja.stage.showSelectionBounds = false; 450 this.application.ninja.stage.showSelectionBounds = false;
451 this._updateTargets();
451 452
452 if(this._canSnap) 453 if(this._canSnap)
453 { 454 {
@@ -785,7 +786,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, {
785 { 786 {
786 this.target = this.application.ninja.currentDocument.documentRoot; 787 this.target = this.application.ninja.currentDocument.documentRoot;
787 } 788 }
788 this._updateTargets(); 789// this._updateTargets();
789 } 790 }
790 else 791 else
791 { 792 {