-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix duplication of navigation mesh objects.
The duplication of navigation mesh was processing a regeneration of the mesh and a registration to the scene in the function BuildNavMesh. But the caller (ProcessReplica) is on an object without a scene graph node and so an access to its scene, this mean that the try to register the nav mesh in the scene obstacle simulation failed in BuildNavMesh because the scene is unreachable. To fix this issue the management of obstacle simulation for nav mesh and obstacles is fully moved into KX_Scene::AddNodeReplicaObject after the new object ensure a scene graph node. Fix issue #926.
- Loading branch information
1 parent
d138c81
commit b387a7f
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters