1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Added an auto quit and auto build flag to the command line options.

(cherry picked from commit 4bfb504c2f)
This commit is contained in:
Nathan Warden
2018-02-14 10:23:04 -05:00
committed by Hein-Pieter van Braam
parent 70b082c0d9
commit 83b76a8171
3 changed files with 23 additions and 5 deletions

View File

@@ -596,7 +596,6 @@ private:
static EditorPluginInitializeCallback plugin_init_callbacks[MAX_INIT_CALLBACKS];
void _save_default_environment();
bool _call_build();
static int build_callback_count;
static EditorBuildCallback build_callbacks[MAX_BUILD_CALLBACKS];
@@ -634,6 +633,8 @@ protected:
static void _bind_methods();
public:
bool call_build();
static void add_plugin_init_callback(EditorPluginInitializeCallback p_callback);
enum EditorTable {