diff --git a/src/WEDCore/README.WorldEditor b/src/WEDCore/README.WorldEditor index 668fc119c..7bd5166a9 100644 --- a/src/WEDCore/README.WorldEditor +++ b/src/WEDCore/README.WorldEditor @@ -17,7 +17,7 @@ WED 2.6.0b3 7/5/24 Features: - force default dir for most file open dialogs to be current scenery pack - make ToolTips in LibraryList more meaningful - - support jw docking to the 2nd door of the aircraft for XP 12.1.2+ + - support jw docking to the 2nd door of the aircraft for XP 12.1.3+ Bug fix: - minor accuracy improvement in map projection for very large objetcs - fix duplicated exclusion zones at full scenery import @@ -48,7 +48,7 @@ WED 2.6.0b1 5/20/24 - auto-import when opening scenery packages w/o .xml file for 1st time - option to recover from backup with broken .xml files - XPD-15379 validate set_AGL, set_MSL within -1000 ... 10,000m, for GW +/-100m - - improved string spacing resolution for XP 12.1.2+ + - improved string spacing resolution for XP 12.1.3+ Bug fix: - fix Obj8 drawing not recognizing ATTR_no_blend threshold values - validate ObjectString spacing parameter to be non-zero diff --git a/src/WEDCore/WED_Globals.h b/src/WEDCore/WED_Globals.h index d5d74d7c3..1050ebafe 100644 --- a/src/WEDCore/WED_Globals.h +++ b/src/WEDCore/WED_Globals.h @@ -60,7 +60,7 @@ enum WED_Export_Target { wet_xplane_1100, // Adds ground vehicles stuff wet_xplane_1130, // Adds 8.33kHz raster frequencies wet_xplane_1200, // Adds moving jetwaya cabins, new surface types, new runway params, but NOT rowcode 105 - wet_xplane_1211, // String spacing encoding of fractional meters, no new apt.dat revision + wet_xplane_1213, // String spacing encoding of fractional meters, no new apt.dat revision wet_gateway = 99, // Latest format but with strict checking for gateway. wet_latest_xplane = wet_xplane_1200, // meta-token for whatever the very newest x-plane export is }; diff --git a/src/WEDImportExport/WED_AptIE.cpp b/src/WEDImportExport/WED_AptIE.cpp index 3b45d82c4..392a62b9c 100644 --- a/src/WEDImportExport/WED_AptIE.cpp +++ b/src/WEDImportExport/WED_AptIE.cpp @@ -100,7 +100,7 @@ static int get_apt_export_version() version = 1130; break; case wet_xplane_1200: - case wet_xplane_1211: + case wet_xplane_1213: version = 1200; break; default: diff --git a/src/WEDImportExport/WED_DSFExport.cpp b/src/WEDImportExport/WED_DSFExport.cpp index 53791e6e1..197d60892 100644 --- a/src/WEDImportExport/WED_DSFExport.cpp +++ b/src/WEDImportExport/WED_DSFExport.cpp @@ -107,7 +107,7 @@ static unsigned int encode_heading(double h) // draped polygons have 1/128th static unsigned int encode_spacing(double s) // object strings have 1/128th resolution encoded in integer spacing { - if (gExportTarget >= wet_xplane_1211 && s < 433.8) + if (gExportTarget > wet_xplane_1200 && s < 433.8) { unsigned int nearest = round(s); double ratio = nearest == 0 ? 0.0 : s / (double) nearest;