1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #108658 from bruvzg/ed_pl_init

[EditorExportPlatform] Move initialization to a dedicated method.
This commit is contained in:
Thaddeus Crews
2025-09-30 18:35:25 -05:00
21 changed files with 56 additions and 31 deletions

View File

@@ -612,7 +612,7 @@ Error EditorExportPlatformLinuxBSD::run(const Ref<EditorExportPreset> &p_preset,
#undef CLEANUP_AND_RETURN
}
EditorExportPlatformLinuxBSD::EditorExportPlatformLinuxBSD() {
void EditorExportPlatformLinuxBSD::initialize() {
if (EditorNode::get_singleton()) {
Ref<Image> img = memnew(Image);
const bool upsample = !Math::is_equal_approx(Math::round(EDSCALE), EDSCALE);