diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-02-26 18:43:37 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-02-26 18:45:06 -0300 |
commit | f669ebeeaf75a00b4c66dc92f62bd5030cb11660 (patch) | |
tree | 8673a26d3087fd9885358bc64161e4445992800e /platform/javascript/export/export.cpp | |
parent | 3b0f3016609d4915b430738125b85a16188f1691 (diff) | |
download | redot-engine-f669ebeeaf75a00b4c66dc92f62bd5030cb11660.tar.gz |
-Properly handle missing ETC support on export
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
Diffstat (limited to 'platform/javascript/export/export.cpp')
-rw-r--r-- | platform/javascript/export/export.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp index 123c6ae645..2da6ea6670 100644 --- a/platform/javascript/export/export.cpp +++ b/platform/javascript/export/export.cpp @@ -167,6 +167,12 @@ bool EditorExportPlatformJavaScript::can_export(const Ref<EditorExportPreset> &p } } + String etc_error = test_etc2(); + if (etc_error != String()) { + valid = false; + err += etc_error; + } + if (!err.empty()) r_error = err; |