move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack...
[blender.git] / release / scripts / startup / bl_ui / properties_game.py
index 7650e7b6ee1dce8469350de8474fa775db3d525f..6925836c5a2c3b0a9f6d75d3be1bee6d95b6ba17 100644 (file)
@@ -166,6 +166,9 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel):
 
         elif game.physics_type in {'SENSOR', 'INVISIBLE', 'NO_COLLISION', 'OCCLUDE'}:
             layout.prop(ob, "hide_render", text="Invisible")
+        elif game.physics_type == 'NAVMESH':
+            layout.operator("mesh.assign_navpolygon")
+            layout.operator("mesh.assign_new_navpolygon")
 
 
 class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel):