Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From e9b687dcf6d9043c3725733b6ad2052bfd929b73 Mon Sep 17 00:00:00 2001
- From: Aron Granberg <aron.granberg@gmail.com>
- Date: Thu, 1 Dec 2016 11:50:16 +0100
- Subject: [PATCH 21/43] Fixed AstarData.AddGraph would fill *all* empty slots
- in the graph array with the graph instead of just the first.
- ---
- Assets/AstarPathfindingProject/Core/AstarData.cs | 1 +
- Assets/AstarPathfindingProject/changelog.cs | 1 +
- 2 files changed, 2 insertions(+)
- diff --git a/Assets/AstarPathfindingProject/Core/AstarData.cs b/Assets/AstarPathfindingProject/Core/AstarData.cs
- index a767b87e..d4079e64 100644
- --- a/Assets/AstarPathfindingProject/Core/AstarData.cs
- +++ b/Assets/AstarPathfindingProject/Core/AstarData.cs
- @@ -513,6 +513,7 @@ namespace Pathfinding {
- graphs[i] = graph;
- graph.graphIndex = (uint)i;
- foundEmpty = true;
- + break;
- }
- }
- diff --git a/Assets/AstarPathfindingProject/changelog.cs b/Assets/AstarPathfindingProject/changelog.cs
- index 9e4af4a4..6d9fd358 100644
- --- a/Assets/AstarPathfindingProject/changelog.cs
- +++ b/Assets/AstarPathfindingProject/changelog.cs
- @@ -5,6 +5,7 @@
- - Various other small fixes in the AstarDebugger class.
- - Fixed division by zero when generating a recast graph and the cell size was much larger than the bounds of the graph.
- - Fixed DynamicGridObstacle getting caught in an infinite loop if there was be no AstarPath component in the scene when it was created. Thanks MeiChen for finding the bug.
- + - Fixed AstarData.AddGraph would fill *all* empty slots in the graph array with the graph instead of just the first. Thanks bitwise for finding the bug.
- - Fixed GraphUpdateScene causing 'The Grid Graph is not scanned, cannot update area' to be logged when exiting play mode.
- - Fixed navmesh and recast graphs would unnecessarily be serialized by Unity which would slow down the inspector slightly.
- - Fixed RVO threads would sometimes not be terminated which could lead to memory leaks if switching scenes a lot.
- --
- 2.14.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement