From 4af8dd1915e7ae53ee6c9a1ce1800bda5cdd4061 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 21 Dec 2022 17:05:47 -0800 Subject: Don't delete TaSTT_Generated This makes incremental workflows much more efficient, since you don't have to reassign the FX controller, params, and menu. --- GUI/GUI/GUI/PythonWrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GUI') diff --git a/GUI/GUI/GUI/PythonWrapper.cpp b/GUI/GUI/GUI/PythonWrapper.cpp index 2e37994..31849f5 100644 --- a/GUI/GUI/GUI/PythonWrapper.cpp +++ b/GUI/GUI/GUI/PythonWrapper.cpp @@ -180,10 +180,12 @@ bool PythonWrapper::GenerateAnimator( tastt_generated_dir_path / unity_animator_generated_name; { + /* if (std::filesystem::exists(tastt_generated_dir_path)) { Log(out, "Erasing {}\n", tastt_generated_dir_path.string()); std::filesystem::remove_all(tastt_generated_dir_path); } + */ Log(out, "Creating {}\n", tastt_generated_dir_path.string()); std::filesystem::create_directories(tastt_generated_dir_path); } -- cgit v1.2.3