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:
authorPorteries Tristan <republicthunderbolt9@gmail.com>2015-08-10 18:24:19 +0300
committerPorteries Tristan <republicthunderbolt9@gmail.com>2015-08-10 18:32:09 +0300
commit8f837e0ac586fb010c7c6133ddbdc09546f7f851 (patch)
tree7fa5f0453284203fcc9a5b82f667d650ae63d0dd /release
parent7b467a6feaf820b1cbd9d590c67c189047931377 (diff)
BGE: Fix T33564: UI obstacle panel disable for character and no collision objects.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_game.py2
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