You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix double point in Navigation2D
Fixes #10324.
(cherry picked from commit 71a496803c)
This commit is contained in:
@@ -646,7 +646,8 @@ debug path
|
||||
break;
|
||||
}
|
||||
|
||||
path.push_back(begin_point);
|
||||
if (path[path.size() - 1].distance_to(begin_point) > CMP_EPSILON)
|
||||
path.push_back(begin_point);
|
||||
|
||||
path.invert();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user