summaryrefslogtreecommitdiff
path: root/platform/javascript
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-19 11:57:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-19 11:57:14 -0300
commitd7d65fa2f2b51d03f7bdfcbceedca99188ce979c (patch)
treefecdf1bfa39ba5a4895b4dbf340a3b68098c109a /platform/javascript
parent8c1731b67995add31361ae526b0e6af76346181e (diff)
-improved physics ccd
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
Diffstat (limited to 'platform/javascript')
-rw-r--r--platform/javascript/export/export.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp
index 50fa4f8815..cd2e24216a 100644
--- a/platform/javascript/export/export.cpp
+++ b/platform/javascript/export/export.cpp
@@ -178,10 +178,11 @@ static void _fix_files(Vector<uint8_t>& html,uint64_t p_data_size) {
}
CharString cs = strnew.utf8();
- html.resize(cs.size());
- for(int i=9;i<cs.size();i++) {
+ html.resize(cs.length());
+ for(int i=9;i<cs.length();i++) {
html[i]=cs[i];
}
+
}
struct JSExportData {