aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-27 10:32:26 -0700
committerNivesh Rajbhandari2012-03-27 10:32:26 -0700
commit62438ba52de51bb8ae20de07ec2f4dad55b9a929 (patch)
tree3560cfe3c39aaf1027e89a337bb15a1db1bc884f /js/lib
parent71b2d1f4ece0f0760bc15900ee0b1f937a9b9431 (diff)
downloadninja-62438ba52de51bb8ae20de07ec2f4dad55b9a929.tar.gz
Build elements' properties3d values on file open.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/NJUtils.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js
index 0457120b..c01d865b 100755
--- a/js/lib/NJUtils.js
+++ b/js/lib/NJUtils.js
@@ -182,6 +182,9 @@ exports.NJUtils = Object.create(Object.prototype, {
182 break; 182 break;
183 } 183 }
184 this.makeElementModel(el, selection, controller, isShape); 184 this.makeElementModel(el, selection, controller, isShape);
185 if(el.elementModel && el.elementModel.props3D) {
186 el.elementModel.props3D.init(el, (selection === "Stage"));
187 }
185 } 188 }
186 }, 189 },
187 190