From 93ad5e469c308654e67605b82c5a915380610a36 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 6 Jan 2021 09:57:07 +0800 Subject: [PATCH] Ignore broken zone --- nel/tools/3d/unbuild_elevation/unbuild_elevation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nel/tools/3d/unbuild_elevation/unbuild_elevation.cpp b/nel/tools/3d/unbuild_elevation/unbuild_elevation.cpp index ffb428deb..d3c15e478 100644 --- a/nel/tools/3d/unbuild_elevation/unbuild_elevation.cpp +++ b/nel/tools/3d/unbuild_elevation/unbuild_elevation.cpp @@ -68,6 +68,7 @@ int s_Warnings; // --land "R:\graphics\landscape\ligo\desert\r2_desert.land" --referenceext zonew "X:\wsl\check_r2_desert.py" "R:\reference\2008_july\data\r2_desert" "R:\pipeline\export\continents\r2_desert\zone_weld" --extendcoords // --land "R:\graphics\landscape\ligo\jungle\r2_jungle.land" --referenceext zonew "X:\wsl\check_r2_jungle.py" "R:\reference\2008_july\data\r2_jungle" "R:\pipeline\export\continents\r2_jungle\zone_weld" --extendcoords +// --land "R:\graphics\landscape\ligo\primes_racines\r2_roots.land" --referenceext zonew "X:\wsl\check_r2_roots.py" "R:\reference\2008_july\data\r2_roots" "R:\pipeline\export\continents\r2_roots\zone_weld" --extendcoords bool loadLand(const string &filename) { @@ -297,6 +298,9 @@ bool unbuildElevation() if (!CFile::fileExists(sourceZone)) continue; + if (zone == "137_JK") // Bad zone + continue; + printf("%s\n", nlUtf8ToMbcs(zone)); ++totalZones;