diff options
author | Valerio Virgillito | 2012-06-06 16:20:25 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-06 16:20:25 -0700 |
commit | 488ae8d98deb30009cb8b5b2da464fe52940050b (patch) | |
tree | b442a3d195db3f5e679085aa936c97f62d77d720 /js/models/element-model.js | |
parent | bc7ca741f8c8adcb5c5919af6f808a20c37ea5d7 (diff) | |
download | ninja-488ae8d98deb30009cb8b5b2da464fe52940050b.tar.gz |
fixing a rotation and zoom bug
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/models/element-model.js')
-rwxr-xr-x | js/models/element-model.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/models/element-model.js b/js/models/element-model.js index ea25e5b1..c9fb58d8 100755 --- a/js/models/element-model.js +++ b/js/models/element-model.js | |||
@@ -28,9 +28,7 @@ var modelGenerator = exports.modelGenerator = function() { | |||
28 | }) | 28 | }) |
29 | }); | 29 | }); |
30 | 30 | ||
31 | if(this._model.selection === "body") { | 31 | if(this._model.selection !== "body") { |
32 | this._model.props3D.init(this, true); | ||
33 | } else { | ||
34 | this._model.props3D.init(this, false); | 32 | this._model.props3D.init(this, false); |
35 | } | 33 | } |
36 | 34 | ||