Group Objects "visible" for navmesh-creation
Open, NormalPublic

Description

Since navmesh creation only takes 'real' objects into account and ignores group-instances I tried to
add support for these.

All is done in blender/editors/mesh/mesh_navmesh.c where I bascially repeated the steps done for common objects
for the group-instance and it's object(s). The code is a bit redundant but I got some problems extracting the code for
both object-types and skipped this.... (mainly I got trouble with this bug, which I thought was related to my code:
http://projects.blender.org/tracker/index.php?func=detail&aid=32294&group_id=9&atid=306 )

Hope this patch is somehow useful.

Keep on rocking, ToM

Details

Type
Patch

Hmm,...actually I don't know how to replace the patch with another version. I had to change how the matrix is calculated as the patch
in version one only worked for certain cases.

https://dl.dropbox.com/u/11752001/misc/groupobjects_for_navmesh_v2.patch

Cleaned up function that wasn't used anymore...

I had a quick look.
The duplicated code should go in a static function and yes there is an offset in groups that must be taken into account. You can set the offset in the groups panel when you select one object of the group (look for dupli_offset).
Shouldn't be difficult to add support for it.