Added ToNative to the blendfile args to resolve workers failing due to windows -> linux pathing #104295

Closed
Jamie-Newbon wants to merge 1 commits from Jamie-Newbon/flamenco:main into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -105,7 +105,7 @@ func (ce *CommandExecutor) cmdBlenderRenderCommand(
// Only include the blendfile if the parameter is not empty. This makes it // Only include the blendfile if the parameter is not empty. This makes it
// possible to pass a Python script that loads/constructs the blend file, // possible to pass a Python script that loads/constructs the blend file,
// instead of loading one explicitly here. // instead of loading one explicitly here.
cliArgs = append(cliArgs, parameters.blendfile) cliArgs = append(cliArgs, crosspath.ToNative(parameters.blendfile))
} }
cliArgs = append(cliArgs, parameters.args...) cliArgs = append(cliArgs, parameters.args...)
execCmd := ce.cli.CommandContext(ctx, parameters.exe, cliArgs...) execCmd := ce.cli.CommandContext(ctx, parameters.exe, cliArgs...)