Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-10 11:21:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-10 11:21:42 +0400
commit2de1bd7dc568d30edd8656cb221720dc0d881f4f (patch)
treebf6a1d8c4fbeeae07a3a938dcb7bdfd80d3b76cb /release/scripts/startup
parent70cd4b77bb3ed0fc3f2498421f9452eb1408d8c2 (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/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_game.py9
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):