You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix NavigationLink enabled toggle
Fixes NavigationLink enabled toggle.
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user