mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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
|
@ -2718,7 +2718,7 @@ Error EditorExportPlatformMacOS::run(const Ref<EditorExportPreset> &p_preset, in
|
|||
#undef CLEANUP_AND_RETURN
|
||||
}
|
||||
|
||||
EditorExportPlatformMacOS::EditorExportPlatformMacOS() {
|
||||
void EditorExportPlatformMacOS::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