aboutsummaryrefslogtreecommitdiff
path: root/js/document/views/design.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/views/design.js')
-rwxr-xr-xjs/document/views/design.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js
index 2b8ccb26..b23ebe78 100755
--- a/js/document/views/design.js
+++ b/js/document/views/design.js
@@ -231,6 +231,8 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
231 value: function (scripttags) { 231 value: function (scripttags) {
232 // 232 //
233 var i, n, webgldata; 233 var i, n, webgldata;
234 //Setting the iFrame property for reference in helper class
235 this.model.webGlHelper.iframe = this.model.views.design.iframe;
234 //Checking for webGL Data 236 //Checking for webGL Data
235 for (var w in scripttags) { 237 for (var w in scripttags) {
236 // 238 //
@@ -247,7 +249,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
247 webgldata.data[n] = unescape(webgldata.data[n]); 249 webgldata.data[n] = unescape(webgldata.data[n]);
248 } 250 }
249 //TODO: Improve setter of webGL and reference 251 //TODO: Improve setter of webGL and reference
250 this.model.glData = webgldata.data; 252 this.model.webGlHelper.glData = webgldata.data;
251 } 253 }
252 } 254 }
253 } 255 }