aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-01 10:04:15 -0800
committerNivesh Rajbhandari2012-03-01 10:04:15 -0800
commit7980d9bde2b43aa5a494ddf6f1db5c4959a57b91 (patch)
treeae3a9d549736422ae889cfd78dab64cd28bb157a
parentf04cc0146d8f7573628678613a99c270116768e4 (diff)
downloadninja-7980d9bde2b43aa5a494ddf6f1db5c4959a57b91.tar.gz
Re-fixing IKNinja-940 - Can't select objects when in side/top view.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/tools/SelectionTool.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index caa9e8d6..e8035255 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -122,6 +122,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
122 if(this._escape) { 122 if(this._escape) {
123 this._escape = false; 123 this._escape = false;
124 this._isSelecting = false; 124 this._isSelecting = false;
125 this._canSnap = true;
125 return; 126 return;
126 } 127 }
127 128
@@ -153,6 +154,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
153 } 154 }
154 155
155 this.endDraw(event); 156 this.endDraw(event);
157 this._canSnap = true;
156 return; 158 return;
157 } 159 }
158 160
@@ -180,6 +182,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
180 } 182 }
181 183
182 this.endDraw(event); 184 this.endDraw(event);
185 this._canSnap = true;
183 } 186 }
184 }, 187 },
185 188