Merge pull request #57 from AGSPhoenix/use-quotes-in-project-name

Wrap project name in double quotes
This commit is contained in:
Laurent Clouet
2016-01-11 11:56:07 +01:00

View File

@@ -198,7 +198,7 @@ public class Job {
}
public Error.Type render() {
gui.status("Rendering " + this.name);
gui.status("Rendering project \"" + this.name + "\"");
RenderProcess process = getProcessRender();
String core_script = "import bpy\n" + "bpy.context.user_preferences.system.compute_device_type = \"%s\"\n" + "bpy.context.scene.cycles.device = \"%s\"\n" + "bpy.context.user_preferences.system.compute_device = \"%s\"\n";
if (getUseGPU() && config.getGPUDevice() != null) {