diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-10 01:11:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-10 01:11:51 +0400 |
commit | 7306eb84f07c92a5bced22f7f38dd7de1770c425 (patch) | |
tree | bbf9ba1bdbeae8ce5be45972314ed32905e3a9a5 /release/scripts/startup/bl_ui/properties_game.py | |
parent | 9d70e050a27ce4700e0e16dd120c343bd5ecc2a6 (diff) |
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_game.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 7650e7b6ee1..6925836c5a2 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -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): |