Raytracing: Rendering with luxrender doesn't block the UI anymore

This commit is contained in:
Yorik van Havre
2013-10-03 16:29:13 -03:00
parent dc0e51307a
commit 44f2d7fdf8

View File

@@ -591,7 +591,7 @@ void CmdRaytracingRender::activated(int iMsg)
doCommand(Doc,"f = open(TempFile,'wb')");
doCommand(Doc,"f.write(PageFile.read())");
doCommand(Doc,"f.close()");
doCommand(Doc,"subprocess.call('\"%s\" '+TempFile,shell=True)",renderer.c_str());
doCommand(Doc,"subprocess.Popen([\"%s\",TempFile])",renderer.c_str());
doCommand(Doc,"del TempFile,PageFile");
commitCommand();
}