Blender Git Commit Log
Git Commits -> Revision d3acfa1
Revision d3acfa1 by Sybren A. Stüvel (master) July 28, 2015, 11:54 (GMT) |
BGE: Navmesh fixes and improvements The navigation mesh functionality was broken for quite a while. This patch contains fixes: recalculating tesselations before getting the number of tesselation faces (it otherwise returned 0) before calculating the navmesh, and calling `DM_ensure_tessface()` on the navmesh's `DerivedMesh` object (which fixes visualisation in Blender). This allows one to create a new navmesh, which also works in the BGE. Furthermore, the patch adds several return values, and shows more error messages when things go wrong. In several places in the navmesh creation code, return codes weren't checked and errors silently ignored. Reviewers: nicks, brita_, campbellbarton, lordloki, moguri, panzergame Reviewed By: panzergame Differential Revision: https://developer.blender.org/D1435 |
Commit Details:
Full Hash: d3acfa1d87ccc7932b61311b7084951dcce67eba
Parent Commit: 038d6ce
Lines Changed: +34, -7