Merge pull request #83709 from smix8/navlink_enabled_4.x

Fix NavigationLink enabled toggle
This commit is contained in:
Rémi Verschelde 2023-10-21 15:52:17 +02:00
commit f22c3ff33b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -953,6 +953,9 @@ void NavMap::sync() {
// Search for polygons within range of a nav link. // Search for polygons within range of a nav link.
for (const NavLink *link : links) { for (const NavLink *link : links) {
if (!link->get_enabled()) {
continue;
}
const Vector3 start = link->get_start_position(); const Vector3 start = link->get_start_position();
const Vector3 end = link->get_end_position(); const Vector3 end = link->get_end_position();