diff options
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 7db2a82c..c76c7d46 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -179,8 +179,10 @@ exports.Ninja = Montage.create(Component, { | |||
179 | for(var i = 0, len = glCanvases.length; i<len; i++) { | 179 | for(var i = 0, len = glCanvases.length; i<len; i++) { |
180 | glShapeModel = glCanvases[i].elementModel.shapeModel; | 180 | glShapeModel = glCanvases[i].elementModel.shapeModel; |
181 | if(inLivePreview) { | 181 | if(inLivePreview) { |
182 | glShapeModel.GLWorld._previewAnimation = true; | ||
182 | glShapeModel.GLWorld.restartRenderLoop(); | 183 | glShapeModel.GLWorld.restartRenderLoop(); |
183 | } else if (!glShapeModel.animate ) { | 184 | } else if (!glShapeModel.animate ) { |
185 | glShapeModel.GLWorld._previewAnimation = false; | ||
184 | glShapeModel.GLWorld._canvas.task.stop(); | 186 | glShapeModel.GLWorld._canvas.task.stop(); |
185 | } | 187 | } |
186 | } | 188 | } |