mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[EditorExportPlatform] Move initialization to a dedicated method.
This commit is contained in:
parent
7c472e655f
commit
f20e5152ad
21 changed files with 56 additions and 31 deletions
|
@ -608,7 +608,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue