Move runnable out of export preset
This commit is contained in:
@@ -614,15 +614,7 @@ Error EditorExportPlatformWeb::export_project(const Ref<EditorExportPreset> &p_p
|
||||
}
|
||||
|
||||
bool EditorExportPlatformWeb::poll_export() {
|
||||
Ref<EditorExportPreset> preset;
|
||||
|
||||
for (int i = 0; i < EditorExport::get_singleton()->get_export_preset_count(); i++) {
|
||||
Ref<EditorExportPreset> ep = EditorExport::get_singleton()->get_export_preset(i);
|
||||
if (ep->is_runnable() && ep->get_platform() == this) {
|
||||
preset = ep;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Ref<EditorExportPreset> preset = EditorExport::get_singleton()->get_runnable_preset_for_platform(this);
|
||||
|
||||
RemoteDebugState prev_remote_debug_state = remote_debug_state;
|
||||
remote_debug_state = REMOTE_DEBUG_STATE_UNAVAILABLE;
|
||||
|
||||
Reference in New Issue
Block a user