blender/source/gameengine
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
..
BlenderRoutines BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
Converter BGE: Fix T35288 Touch/Ray/Mouse sensor and Constraint actuator with material check doesn't work. 2015-07-25 09:43:06 +02:00
Expressions BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
GameLogic BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
GamePlayer Cleanup: quiet warning 2015-07-09 19:33:02 +10:00
Ketsji BGE: Navmesh fixes and improvements 2015-07-28 13:54:41 +02:00
Network mathutils: refactor instantiation 2015-01-04 17:43:57 +11:00
Physics Fix compile warning in 04b369 2015-07-25 14:00:46 +02:00
Rasterizer BGE: Fix T19241: draw debug shape with overlay/background scene. 2015-07-27 13:49:06 +02:00
SceneGraph Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
VideoTexture BGE Clean-up: New EXP prefix for the BGE Expression module 2015-07-12 16:58:12 +02:00
CMakeLists.txt CMake: Enable strict flags for C++ 2015-03-27 18:23:31 +05:00
SConscript BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems. 2013-02-24 07:09:39 +00:00