diff --git a/cortex/webgl/resources/js/axes3d.js b/cortex/webgl/resources/js/axes3d.js index 89ab251d9..126715d48 100644 --- a/cortex/webgl/resources/js/axes3d.js +++ b/cortex/webgl/resources/js/axes3d.js @@ -298,6 +298,8 @@ var jsplot = (function (module) { var img = mriview.getTexture(this.renderer.context, renderbuf) if (post !== undefined) $.post(post, {png:img.toDataURL()}); + // Draw again -- for some reason the scene disappears after getting the texture + this.draw() return img; };