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

Use ScriptExportMode enum in EditorExportPreset

This commit is contained in:
Micky
2025-06-05 18:52:22 +02:00
committed by Rémi Verschelde
parent 5f12ada7a4
commit 14ede94a76
8 changed files with 66 additions and 11 deletions

View File

@@ -225,3 +225,11 @@ Validate extension JSON: API was removed: classes/EditorFileDialog/properties/op
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/show_hidden_files
The errors are false-positives. The removed methods are now part of the new parent class.
GH-107167
---------
Validate extension JSON: Error: Field 'classes/EditorExportPreset/methods/get_script_export_mode': meta was removed.
Validate extension JSON: Error: Field 'classes/EditorExportPreset/methods/get_script_export_mode/return_value': type changed value in new API, from "int" to "enum::EditorExportPreset.ScriptExportMode".
Change return type from `int` to `EditorExportPreset.ScriptExportMode` enum. Compatibility method registered.