From 26cad78b59334d14701944267671f8d6293253fb Mon Sep 17 00:00:00 2001 From: ppphp Date: Mon, 21 Aug 2023 03:56:05 +0800 Subject: [PATCH] fix: Recorder directory create --- src/UI/Recorder/Recorder.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/UI/Recorder/Recorder.gd b/src/UI/Recorder/Recorder.gd index ba5a5434a88a..bb33c42ea7d8 100644 --- a/src/UI/Recorder/Recorder.gd +++ b/src/UI/Recorder/Recorder.gd @@ -27,9 +27,8 @@ func _ready() -> void: project = Global.current_project frame_saved.connect(_on_frame_saved) # Make a recordings folder if there isn't one - var dir := DirAccess.open(chosen_dir) chosen_dir = Global.home_data_directory.path_join("Recordings") - dir.make_dir_recursive(chosen_dir) + DirAccess.make_dir_recursive_absolute(chosen_dir) path_field.text = chosen_dir size_label.text = str("(", project.size.x, "×", project.size.y, ")")