Fix foward/backwad swap

This commit is contained in:
Patrick Niklaus
2016-03-18 16:14:48 +01:00
parent 8218d5a47e
commit 4e8fe89faa
4 changed files with 22 additions and 34 deletions
+1 -2
View File
@@ -93,8 +93,7 @@ class RouteAPI : public BaseAPI
auto leg_geometry = guidance::assembleGeometry(
BaseAPI::facade, path_data, phantoms.source_phantom, phantoms.target_phantom);
auto leg = guidance::assembleLeg(BaseAPI::facade, path_data, leg_geometry,
phantoms.source_phantom, phantoms.target_phantom,
reversed_source, reversed_target);
phantoms.target_phantom, reversed_target);
if (parameters.steps)
{