diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-03-16 09:37:43 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-05-12 15:09:13 +0200 |
commit | d79e28c3021a4410f41a3bbff111d56b28f155ef (patch) | |
tree | 250f03d617692ff4b0e3aaece14fc59126cd3fd0 /editor/editor_run_native.cpp | |
parent | ed225faf31c9b3aa47154260aa1a7826d728acc8 (diff) | |
download | redot-engine-d79e28c3021a4410f41a3bbff111d56b28f155ef.tar.gz |
Support multiple debug protocols.
Diffstat (limited to 'editor/editor_run_native.cpp')
-rw-r--r-- | editor/editor_run_native.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_run_native.cpp b/editor/editor_run_native.cpp index 464666ac6a..d4450acea2 100644 --- a/editor/editor_run_native.cpp +++ b/editor/editor_run_native.cpp @@ -133,7 +133,7 @@ void EditorRunNative::_run_native(int p_idx, int p_platform) { return; } - emit_signal("native_run"); + emit_signal("native_run", preset); int flags = 0; @@ -160,7 +160,7 @@ void EditorRunNative::resume_run_native() { void EditorRunNative::_bind_methods() { - ADD_SIGNAL(MethodInfo("native_run")); + ADD_SIGNAL(MethodInfo("native_run", PropertyInfo(Variant::OBJECT, "preset", PROPERTY_HINT_RESOURCE_TYPE, "EditorExportPreset"))); } bool EditorRunNative::is_deploy_debug_remote_enabled() const { |