You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add default param value to EditorExportPlatform::get_forced_export_files
Add default parameter value to a new parameter added in 4.5 to `EditorExportPlatform::get_forced_export_files` so we can avoid breaking compatibility for GDScript.
This commit is contained in:
@@ -121,7 +121,7 @@
|
|||||||
</method>
|
</method>
|
||||||
<method name="get_forced_export_files" qualifiers="static">
|
<method name="get_forced_export_files" qualifiers="static">
|
||||||
<return type="PackedStringArray" />
|
<return type="PackedStringArray" />
|
||||||
<param index="0" name="preset" type="EditorExportPreset" />
|
<param index="0" name="preset" type="EditorExportPreset" default="null" />
|
||||||
<description>
|
<description>
|
||||||
Returns array of core file names that always should be exported regardless of preset config.
|
Returns array of core file names that always should be exported regardless of preset config.
|
||||||
</description>
|
</description>
|
||||||
|
|||||||
@@ -2530,7 +2530,7 @@ void EditorExportPlatform::_bind_methods() {
|
|||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("get_internal_export_files", "preset", "debug"), &EditorExportPlatform::get_internal_export_files);
|
ClassDB::bind_method(D_METHOD("get_internal_export_files", "preset", "debug"), &EditorExportPlatform::get_internal_export_files);
|
||||||
|
|
||||||
ClassDB::bind_static_method("EditorExportPlatform", D_METHOD("get_forced_export_files", "preset"), &EditorExportPlatform::get_forced_export_files);
|
ClassDB::bind_static_method("EditorExportPlatform", D_METHOD("get_forced_export_files", "preset"), &EditorExportPlatform::get_forced_export_files, DEFVAL(Ref<EditorExportPreset>()));
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(EXPORT_MESSAGE_NONE);
|
BIND_ENUM_CONSTANT(EXPORT_MESSAGE_NONE);
|
||||||
BIND_ENUM_CONSTANT(EXPORT_MESSAGE_INFO);
|
BIND_ENUM_CONSTANT(EXPORT_MESSAGE_INFO);
|
||||||
|
|||||||
Reference in New Issue
Block a user