diff options
author | hwc487 | 2012-02-29 15:23:28 -0800 |
---|---|---|
committer | hwc487 | 2012-02-29 15:23:28 -0800 |
commit | 07c48708a99b94a220c043ad5951a331bbd4fc2d (patch) | |
tree | 6fdf01f3d0fca0cf5835246bed21d6ae1816ce88 /js/helper-classes/RDGE/GLWorld.js | |
parent | 347fc28227d822e9fea3fa823fae79cf14ea041c (diff) | |
download | ninja-07c48708a99b94a220c043ad5951a331bbd4fc2d.tar.gz |
WebGL file I/O
Diffstat (limited to 'js/helper-classes/RDGE/GLWorld.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLWorld.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js index 8017207f..0ab3c242 100755 --- a/js/helper-classes/RDGE/GLWorld.js +++ b/js/helper-classes/RDGE/GLWorld.js | |||
@@ -811,7 +811,7 @@ GLWorld.prototype.getShapeFromPoint = function( offsetX, offsetY ) | |||
811 | } | 811 | } |
812 | } | 812 | } |
813 | 813 | ||
814 | GLWorld.prototype.export = function() | 814 | GLWorld.prototype.export = function( exportForPublish ) |
815 | { | 815 | { |
816 | var exportStr = "GLWorld 1.0\n"; | 816 | var exportStr = "GLWorld 1.0\n"; |
817 | var id = this.getCanvas().getAttribute( "data-RDGE-id" ); | 817 | var id = this.getCanvas().getAttribute( "data-RDGE-id" ); |
@@ -824,7 +824,8 @@ GLWorld.prototype.export = function() | |||
824 | 824 | ||
825 | // we need 2 export modes: One for save/restore, one for publish. | 825 | // we need 2 export modes: One for save/restore, one for publish. |
826 | // hardcoding for now | 826 | // hardcoding for now |
827 | var exportForPublish = false; | 827 | //var exportForPublish = false; |
828 | if (!exportForPublish) exportForPublish = false; | ||
828 | exportStr += "publish: " + exportForPublish + "\n"; | 829 | exportStr += "publish: " + exportForPublish + "\n"; |
829 | 830 | ||
830 | if (exportForPublish) | 831 | if (exportForPublish) |