blender/source
Sybren A. Stüvel d3acfa1d87 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
2015-07-28 13:54:41 +02:00
..
blender BGE: Navmesh fixes and improvements 2015-07-28 13:54:41 +02:00
blenderplayer Replace MFace with looptri for dynamicpaint 2015-07-27 16:01:56 +10:00
creator Fix/Workaround for CMake buildinfo error 2015-07-20 23:27:56 +10:00
gameengine BGE: Navmesh fixes and improvements 2015-07-28 13:54:41 +02:00
icons
CMakeLists.txt Move tests into tests/ top-level dir 2014-06-18 22:03:46 +10:00
SConscript