aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/lib/NJUtils.js3
-rwxr-xr-xjs/models/properties-3d.js2
2 files changed, 4 insertions, 1 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
diff --git a/js/models/properties-3d.js b/js/models/properties-3d.js
index 087e794f..0a7cf8bb 100755
--- a/js/models/properties-3d.js
+++ b/js/models/properties-3d.js
@@ -67,7 +67,7 @@ exports.Properties3D = Montage.create(Component, {
67 this.matrix3d = Matrix.I(4); 67 this.matrix3d = Matrix.I(4);
68 } 68 }
69 69
70 if(this.perspectiveDist === null) { 70 if(this.perspectiveDist == null) {
71 this.perspectiveDist = 1400; 71 this.perspectiveDist = 1400;
72 } 72 }
73 73