aboutsummaryrefslogtreecommitdiff
path: root/js/models/element-model.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-06 16:20:25 -0700
committerValerio Virgillito2012-06-06 16:20:25 -0700
commit488ae8d98deb30009cb8b5b2da464fe52940050b (patch)
treeb442a3d195db3f5e679085aa936c97f62d77d720 /js/models/element-model.js
parentbc7ca741f8c8adcb5c5919af6f808a20c37ea5d7 (diff)
downloadninja-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-xjs/models/element-model.js4
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