#125 Fix Rhubarb for Spine when used without extended mouth shapes

This commit is contained in:
Daniel Wolf
2025-03-24 15:04:56 +01:00
parent 33280e4998
commit cd7b8301bf
2 changed files with 2 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
* **Added** demo projects for Spine and After Effects.
* **Fixed** After Effects script on macOS ([issue #77](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/77), [issue #128](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/128))
* **Fixed** Rhubarb for Spine when used on non-Windows systems without extended mouth shapes ([issue #125](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/125))
* **Changed** the way you make Rhubarb available to After Effects on macOS. This used to be a `/usr/local/bin/` symlink but is now a `PATH` entry ([issue #143](https://github.com/DanielSWolf/rhubarb-lip-sync/issues/143)). For details, see the README file for Rhubarb for After Effects.
## Version 1.13.0

View File

@@ -81,15 +81,12 @@ class RhubarbTask(
}
private fun createProcessBuilderArgs(dialogFilePath: Path?): List<String> {
val extendedMouthShapesString =
if (extendedMouthShapes.any()) extendedMouthShapes.joinToString(separator = "")
else "\"\""
return mutableListOf(
rhubarbBinFilePath.toString(),
"--machineReadable",
"--recognizer", recognizer,
"--exportFormat", "json",
"--extendedShapes", extendedMouthShapesString
"--extendedShapes", extendedMouthShapes.joinToString(separator = "")
).apply {
if (dialogFilePath != null) {
addAll(listOf(