MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_patch

Method set_patch

editor/export/editor_export_preset.cpp:435–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void EditorExportPreset::set_patch(int p_index, const String &p_path) {
436 remove_patch(p_index);
437 add_patch(p_path, p_index);
438}
439
440String EditorExportPreset::get_patch(int p_index) {
441 ERR_FAIL_INDEX_V(p_index, patches.size(), String());

Callers 2

_patch_file_selectedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected