aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.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/SelectionTool.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/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index f9411f48..c00a2929 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -60,6 +60,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
60 else 60 else
61 { 61 {
62 this._canSnap = true; 62 this._canSnap = true;
63 this._updateTargets();
63 } 64 }
64 65
65 this.isDrawing = true; 66 this.isDrawing = true;