[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48146] trunk/blender/release/scripts/ startup/bl_ui/properties_game.py: Fix for [#31792] " Character Physics type not detected by near sensor" reported by Mikko-Pentti Eronen.
Mitchell Stokes
mogurijin at gmail.com
Thu Jun 21 07:31:12 CEST 2012
Revision: 48146
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48146
Author: moguri
Date: 2012-06-21 05:30:57 +0000 (Thu, 21 Jun 2012)
Log Message:
-----------
Fix for [#31792] "Character Physics type not detected by near sensor" reported by Mikko-Pentti Eronen.
Near sensors only pick up "actors," but objects with character physics did not have the actor option displayed. By setting the character physics object to actor, it can be picked up by the near sensor. However, it collides with the near sensor, which sounds like bug [#31701]
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_game.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_game.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_game.py 2012-06-20 23:21:36 UTC (rev 48145)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_game.py 2012-06-21 05:30:57 UTC (rev 48146)
@@ -50,6 +50,8 @@
physics_type = game.physics_type
if physics_type == 'CHARACTER':
+ layout.prop(game, "use_actor")
+ layout.prop(ob, "hide_render", text="Invisible") # out of place but useful
layout.prop(game, "step_height", slider=True)
layout.prop(game, "jump_speed")
layout.prop(game, "fall_speed")
More information about the Bf-blender-cvs
mailing list