From e84d18ec8e6081982a68dfe3f5abbf688d6b8827 Mon Sep 17 00:00:00 2001 From: "j.newbon" Date: Tue, 2 Apr 2024 20:23:06 +0100 Subject: [PATCH] Added ToNative to the blendfile args to resolve windows manager to linux worker bug --- internal/worker/command_blender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/command_blender.go b/internal/worker/command_blender.go index 2f7af9b3..e4937ada 100644 --- a/internal/worker/command_blender.go +++ b/internal/worker/command_blender.go @@ -105,7 +105,7 @@ func (ce *CommandExecutor) cmdBlenderRenderCommand( // 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, // instead of loading one explicitly here. - cliArgs = append(cliArgs, parameters.blendfile) + cliArgs = append(cliArgs, crosspath.ToNative(parameters.blendfile)) } cliArgs = append(cliArgs, parameters.args...) execCmd := ce.cli.CommandContext(ctx, parameters.exe, cliArgs...) -- 2.30.2