diff options
author | Nivesh Rajbhandari | 2012-03-27 10:32:26 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-27 10:32:26 -0700 |
commit | 62438ba52de51bb8ae20de07ec2f4dad55b9a929 (patch) | |
tree | 3560cfe3c39aaf1027e89a337bb15a1db1bc884f /js/lib | |
parent | 71b2d1f4ece0f0760bc15900ee0b1f937a9b9431 (diff) | |
download | ninja-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-x | js/lib/NJUtils.js | 3 |
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 | ||