diff options
author | Valerio Virgillito | 2012-05-04 18:10:52 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-04 18:10:52 -0700 |
commit | 30e837ade2da7cb20caf7c5a69faf0888736bb9a (patch) | |
tree | 3155deaea5616fa09fc96c84567419fec5f288a2 /js/ninja.reel | |
parent | 3ebed34665fa73b0ce613b400f3029ebf4476439 (diff) | |
parent | 1b2af54128985c1b622e13ea740a8402e57527cc (diff) | |
download | ninja-30e837ade2da7cb20caf7c5a69faf0888736bb9a.tar.gz |
Merge pull request #195 from mqg734/Dom-Architecture
Fixes for 3d, selection, and keyboard shortcuts
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x | js/ninja.reel/ninja.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index cf7c6cf4..edc1efa4 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -300,7 +300,7 @@ exports.Ninja = Montage.create(Component, { | |||
300 | // Turn on WebGL animation during preview | 300 | // Turn on WebGL animation during preview |
301 | _toggleWebGlAnimation: { | 301 | _toggleWebGlAnimation: { |
302 | value: function(inLivePreview) { | 302 | value: function(inLivePreview) { |
303 | var glCanvases = this.currentDocument.iframe.contentWindow.document.querySelectorAll('[data-RDGE-id]'), | 303 | var glCanvases = this.currentDocument.model.views.design.iframe.contentWindow.document.querySelectorAll('[data-RDGE-id]'), |
304 | glShapeModel; | 304 | glShapeModel; |
305 | if(glCanvases) { | 305 | if(glCanvases) { |
306 | for(var i = 0, len = glCanvases.length; i<len; i++) { | 306 | for(var i = 0, len = glCanvases.length; i<len; i++) { |