You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Allow saving anywhere when exporting CSV measures from the profiler
Previously, the CSV file could only be saved in `res://`. Since this is an editor tool, it makes sense to allow saving anywhere on the filesystem.
This commit is contained in:
@@ -1622,6 +1622,7 @@ void ScriptEditorDebugger::_output_clear() {
|
|||||||
void ScriptEditorDebugger::_export_csv() {
|
void ScriptEditorDebugger::_export_csv() {
|
||||||
|
|
||||||
file_dialog->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
file_dialog->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
||||||
|
file_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
|
||||||
file_dialog_mode = SAVE_CSV;
|
file_dialog_mode = SAVE_CSV;
|
||||||
file_dialog->popup_centered_ratio();
|
file_dialog->popup_centered_ratio();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user