summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2016-02-10 03:41:48 -0300
committerAriel Manzur <ariel@okamstudio.com>2016-02-10 03:41:48 -0300
commit83b03e1c6860e1df685ff956d48429c9845ea605 (patch)
tree2f551c64fcafe7830ac796a70119f1dde8c5aeb3
parent61f03c98c867d177b9ee4a528fdae4ed4f2512b2 (diff)
export from command line
-rw-r--r--tools/editor/editor_node.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index b270d8b8cc..b39a1b5350 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -328,12 +328,14 @@ void EditorNode::_notification(int p_what) {
}
*/
+ /* // moved to "_sources_changed"
if (export_defer.platform!="") {
project_export_settings->export_platform(export_defer.platform,export_defer.path,export_defer.debug,export_defer.password,true);
export_defer.platform="";
}
+ */
}
if (p_what == MainLoop::NOTIFICATION_WM_FOCUS_IN) {
@@ -391,6 +393,13 @@ void EditorNode::_fs_changed() {
E->get()->invalidate();
}
+
+ if (export_defer.platform!="") {
+
+ project_export_settings->export_platform(export_defer.platform,export_defer.path,export_defer.debug,export_defer.password,true);
+ export_defer.platform="";
+ }
+
}
void EditorNode::_sources_changed(bool p_exist) {
@@ -406,6 +415,7 @@ void EditorNode::_sources_changed(bool p_exist) {
sources_button->set_disabled(true);
}
+
}
void EditorNode::_vp_resized() {