From 833ef96f677a60197abb417651ac306820e225f0 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 1 Sep 2023 00:48:20 -0700 Subject: Add `Enable phonemes` toggle to radial menu Also: * Fully scrub AudioSource references from prefab when not using phonemes. * Disable net sync on phoneme params when not using them. When not synced, they don't count against the total memory limit. * Use config file in generate_params.py --- GUI/GUI/GUI/PythonWrapper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'GUI') diff --git a/GUI/GUI/GUI/PythonWrapper.cpp b/GUI/GUI/GUI/PythonWrapper.cpp index 1b041e3..d98a5d4 100644 --- a/GUI/GUI/GUI/PythonWrapper.cpp +++ b/GUI/GUI/GUI/PythonWrapper.cpp @@ -803,8 +803,7 @@ bool PythonWrapper::GenerateAnimator( if (!InvokeWithArgs({ generate_params_path, "--old_params", Quote(config.params_path), "--new_params", Quote(tastt_params_path), - "--chars_per_sync", std::to_string(config.chars_per_sync), - "--bytes_per_char", std::to_string(config.bytes_per_char) }, + "--config", Quote(config_path) }, "Failed to generate avatar parameters", out)) { return false; } -- cgit v1.2.3