Commit: 8f837e0ac586fb010c7c6133ddbdc09546f7f851
Author: Porteries Tristan
Date:   Mon Aug 10 17:24:19 2015 +0200
Branches: master
https://developer.blender.org/rB8f837e0ac586fb010c7c6133ddbdc09546f7f851

BGE: Fix T33564: UI obstacle panel disable for character and no collision 
objects.

===================================================================

M       release/scripts/startup/bl_ui/properties_game.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_game.py 
b/release/scripts/startup/bl_ui/properties_game.py
index fa57bf2..56cd4d0 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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to