You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
This commit is contained in:
@@ -2814,7 +2814,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);
|
||||
|
||||
@@ -170,5 +170,5 @@ public:
|
||||
virtual Error run(const Ref<EditorExportPreset> &p_preset, int p_device, BitField<EditorExportPlatform::DebugFlags> p_debug_flags) override;
|
||||
virtual void cleanup() override;
|
||||
|
||||
EditorExportPlatformMacOS();
|
||||
virtual void initialize() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user