aboutsummaryrefslogtreecommitdiff
path: root/js/lib/NJUtils.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-21 12:02:36 -0700
committerNivesh Rajbhandari2012-03-21 12:02:36 -0700
commit52fac825174d16e3ff6875fc497d3f3cfaf4812c (patch)
tree16ca0fb16a1b53822cdc02db4c2b878fd6ac3e96 /js/lib/NJUtils.js
parent862b0c33de7cdc8865db274d37744058256936e0 (diff)
downloadninja-52fac825174d16e3ff6875fc497d3f3cfaf4812c.tar.gz
Get matrix and perspective distance from styles controller.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib/NJUtils.js')
-rwxr-xr-xjs/lib/NJUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js
index 4f1082f9..f611052b 100755
--- a/js/lib/NJUtils.js
+++ b/js/lib/NJUtils.js
@@ -94,7 +94,7 @@ exports.NJUtils = Object.create(Object.prototype, {
94 ///// TODO: find a different place for this function 94 ///// TODO: find a different place for this function
95 makeElementModel: { 95 makeElementModel: {
96 value: function(el, selection, controller, isShape) { 96 value: function(el, selection, controller, isShape) {
97 var p3d = Montage.create(Properties3D).init(el); 97 var p3d = Montage.create(Properties3D).init(el, (selection === "Stage"));
98 var shapeProps = null; 98 var shapeProps = null;
99 if(isShape) { 99 if(isShape) {
100 shapeProps = Montage.create(ShapeModel); 100 shapeProps = Montage.create(ShapeModel);