You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[EditorExportPlatform] Move initialization to a dedicated method.
This commit is contained in:
@@ -33,13 +33,17 @@
|
||||
#include "logo_svg.gen.h"
|
||||
#include "run_icon_svg.gen.h"
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
Vector<String> EditorExportPlatformIOS::device_types({ "iPhone", "iPad" });
|
||||
|
||||
EditorExportPlatformIOS::EditorExportPlatformIOS() :
|
||||
EditorExportPlatformAppleEmbedded(_ios_logo_svg, _ios_run_icon_svg) {
|
||||
void EditorExportPlatformIOS::initialize() {
|
||||
if (EditorNode::get_singleton()) {
|
||||
EditorExportPlatformAppleEmbedded::_initialize(_ios_logo_svg, _ios_run_icon_svg);
|
||||
#ifdef MACOS_ENABLED
|
||||
_start_remote_device_poller_thread();
|
||||
_start_remote_device_poller_thread();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
EditorExportPlatformIOS::~EditorExportPlatformIOS() {
|
||||
|
||||
Reference in New Issue
Block a user