Expose new Recast partitioning methods for navmesh generation

This patch depends on D1747, which upgrades the Recast version.  It exposes the new Recast partitioning methods in the navmesh generation.

Reviewers: campbellbarton, moguri

Reviewed By: moguri

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1748
This commit is contained in:
Reinier de Blois
2016-04-05 20:38:42 +02:00
committed by Porteries Tristan
parent 176538f613
commit c084520b03
4 changed files with 57 additions and 12 deletions

View File

@@ -510,7 +510,11 @@ class SCENE_PT_game_navmesh(SceneButtonsPanel, Panel):
col.label(text="Region:")
row = col.row()
row.prop(rd, "region_min_size")
row.prop(rd, "region_merge_size")
if rd.partitioning != 'LAYERS':
row.prop(rd, "region_merge_size")
col = layout.column()
col.prop(rd, "partitioning")
col = layout.column()
col.label(text="Polygonization:")