diff options
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) |