diff options
author | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-08-10 18:24:19 +0300 |
---|---|---|
committer | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-08-10 18:32:09 +0300 |
commit | 8f837e0ac586fb010c7c6133ddbdc09546f7f851 (patch) | |
tree | 7fa5f0453284203fcc9a5b82f667d650ae63d0dd | |
parent | 7b467a6feaf820b1cbd9d590c67c189047931377 (diff) |
BGE: Fix T33564: UI obstacle panel disable for character and no collision objects.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index fa57bf2115f..56cd4d0f491 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -247,7 +247,7 @@ class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel): game = context.object.game rd = context.scene.render return (rd.engine in cls.COMPAT_ENGINES) \ - and (game.physics_type in {'SENSOR', 'STATIC', 'DYNAMIC', 'RIGID_BODY', 'SOFT_BODY'}) + and (game.physics_type in {'SENSOR', 'STATIC', 'DYNAMIC', 'RIGID_BODY', 'SOFT_BODY', 'CHARACTER', 'NO_COLLISION'}) def draw_header(self, context): game = context.active_object.game |