diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-10 11:21:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-10 11:21:42 +0400 |
commit | 2de1bd7dc568d30edd8656cb221720dc0d881f4f (patch) | |
tree | bf6a1d8c4fbeeae07a3a938dcb7bdfd80d3b76cb /release | |
parent | 70cd4b77bb3ed0fc3f2498421f9452eb1408d8c2 (diff) |
updates to navmesh
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 55ab3313579..5e33e605be9 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -169,8 +169,13 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): layout.prop(ob, "hide_render", text="Invisible") elif physics_type == 'NAVMESH': - layout.operator("mesh.assign_navpolygon") - layout.operator("mesh.assign_new_navpolygon") + layout.operator("mesh.navmesh_face_copy") + layout.operator("mesh.navmesh_face_add") + + layout.separator() + + layout.operator("mesh.navmesh_reset") + layout.operator("mesh.navmesh_clear") class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel): |