Skip to content

Commit

Permalink
Fix NavLinkIteration bidirectional
Browse files Browse the repository at this point in the history
Fixes missing NavLinkIteration bidirectional property.
  • Loading branch information
smix8 committed Dec 25, 2024
1 parent 0f95e9f commit 55acbe9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/navigation/nav_link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ void NavLink::get_iteration_update(NavLinkIteration &r_iteration) {
r_iteration.travel_cost = get_travel_cost();
r_iteration.owner_object_id = get_owner_id();
r_iteration.owner_type = get_type();
r_iteration.owner_rid = get_self();

r_iteration.enabled = enabled;
r_iteration.start_position = start_position;
r_iteration.end_position = end_position;
r_iteration.enabled = get_enabled();
r_iteration.start_position = get_start_position();
r_iteration.end_position = get_end_position();
r_iteration.bidirectional = is_bidirectional();
}

0 comments on commit 55acbe9

Please sign in to comment.