From ce362c03cf4e9f4795c281aff08a6f2f2249380c Mon Sep 17 00:00:00 2001 From: Leon Krause Date: Thu, 10 May 2018 20:17:51 +0200 Subject: [PATCH] Allow exporting runnable presets from command line (cherry picked from commit af7926cf9863343a43b3673ab2d3fbe27f3e88ea) --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6c4b7e12d84..fe13c80a894 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -458,7 +458,7 @@ void EditorNode::_fs_changed() { // come during the export export_defer.preset = ""; Error err; - if (!preset->is_runnable() && (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip"))) { + if (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip")) { if (export_defer.path.ends_with(".zip")) { err = platform->export_zip(preset, export_defer.debug, export_defer.path); } else if (export_defer.path.ends_with(".pck")) {