From 3164e5fe3e884cf96f4b3d7523dce67ca30dae4c Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 4 Jan 2021 20:25:28 +0800 Subject: [PATCH] Parallel ig light --- nel/tools/build_gamedata/processes/zone_light/2_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nel/tools/build_gamedata/processes/zone_light/2_build.py b/nel/tools/build_gamedata/processes/zone_light/2_build.py index 53a926c29..1e8e0c925 100755 --- a/nel/tools/build_gamedata/processes/zone_light/2_build.py +++ b/nel/tools/build_gamedata/processes/zone_light/2_build.py @@ -95,7 +95,8 @@ else: if (needUpdateLogRemoveDest(log, igsrcFile, destFile)): srcFile = srcDir + "/" + file dependFile = dependDir + "/" + file[0:-len(".zonel")] + ".depend" - subprocess.call([ ExecTimeout, str(ZoneIgLightBuildTimeout), ZoneIgLighter, srcFile, destFile, ActiveProjectDirectory + "/generated/properties.cfg", dependFile ]) + callParallelProcess([ ExecTimeout, str(ZoneIgLightBuildTimeout), ZoneIgLighter, srcFile, destFile, ActiveProjectDirectory + "/generated/properties.cfg", dependFile ]) + flushParallelProcesses() printLog(log, "") log.close()