The OSX package of blender require a specific path to be launch. If the path is modified 'dyld: Library not loaded: @loader_path' error or static python appear on blender 2.72

This commit is contained in:
Laurent Clouet
2014-11-30 23:42:57 +00:00
parent 4e660988e4
commit 51752b0e49
5 changed files with 21 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ package com.sheepit.client;
import java.io.File;
import com.sheepit.client.os.OS;
public class Job {
private String numFrame;
private String sceneMD5;
@@ -165,7 +167,7 @@ public class Job {
}
public String getRendererPath() {
return getRendererDirectory() + File.separator + "rend.exe";
return getRendererDirectory() + File.separator + OS.getOS().getRenderBinaryPath();
}
public String getRendererArchivePath() {