diff --git a/src/WEDCore/README.WorldEditor b/src/WEDCore/README.WorldEditor index d6c3a3055..90143aaba 100644 --- a/src/WEDCore/README.WorldEditor +++ b/src/WEDCore/README.WorldEditor @@ -17,6 +17,7 @@ WED 2.6.0b3 - minor accuracy improvement in map projection for very large objetcs - force default dir for most file open dialogs to be current scenery pack - fix duplicated exclusion zones at full scenery import + - WED-1507 fix exclusion polygons still green when locked WED 2.6.0b2 6/3/24 Features: diff --git a/src/WEDMap/WED_StructureLayer.cpp b/src/WEDMap/WED_StructureLayer.cpp index e63114ad0..269957f0e 100644 --- a/src/WEDMap/WED_StructureLayer.cpp +++ b/src/WEDMap/WED_StructureLayer.cpp @@ -462,7 +462,8 @@ bool WED_StructureLayer::DrawEntityStructure (bool inCurrent, IGISEntity * ent auto parent = dynamic_cast(entity)->GetParent(); if (parent->GetClass() == WED_ExclusionPoly::sClass) { - glColor4fv(WED_Color_RGBA_Alpha(wed_Link, 1.0, storage)); + glColor4fv(WED_Color_RGBA_Alpha((locked || selected) ? struct_color : wed_Link, 1.0, storage)); + //glColor4fv(WED_Color_RGBA_Alpha(struct_color, 1.0, storage)); if (gExportTarget < wet_xplane_1200) { Bbox2 bnds;