| 160 | } |
| 161 | |
| 162 | void EditorExport::add_export_preset(const Ref<EditorExportPreset> &p_preset, int p_at_pos) { |
| 163 | if (p_at_pos < 0) { |
| 164 | export_presets.push_back(p_preset); |
| 165 | } else { |
| 166 | export_presets.insert(p_at_pos, p_preset); |
| 167 | } |
| 168 | emit_presets_runnable_changed(); |
| 169 | } |
| 170 | |
| 171 | int EditorExport::get_export_preset_count() const { |
| 172 | return export_presets.size(); |
no test coverage detected