[Bf-committers] Bad level calls in navmesh

Campbell Barton ideasman42 at gmail.com
Sat Sep 10 05:35:54 CEST 2011


There are bad level calls in the recent navmesh merge.

source/blender/modifiers/intern/MOD_navmesh.cpp -- calls
buildNavMeshDataByDerivedMesh

define here:
source/blender/editors/util/navmesh_conversion.cpp

Modifiers are meant to be low level and not call into editors (they
are on a similar level as blenkernel).

Would it be possible for navmesh_conversion.cpp to be moved into BKE?
- not sure how thsi works since its C++ but editors was also C only
before this file was added and it works ok, otherwise it could be
moved into its own module (which seems overkill but is better then
being in editors IMHO).

-- 
- Campbell


More information about the Bf-committers mailing list