Revision: 34686
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34686
Author: campbellbarton
Date: 2011-02-07 11:42:49 +0000 (Mon, 07 Feb 2011)
Log Message:
-----------
add access to radius for game objects (static objects can have radius) as well
as anisotropic friction.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/properties_game.py
Modified: trunk/blender/release/scripts/ui/properties_game.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_game.py 2011-02-07 11:38:57 UTC
(rev 34685)
+++ trunk/blender/release/scripts/ui/properties_game.py 2011-02-07 11:42:49 UTC
(rev 34686)
@@ -72,7 +72,6 @@
col = split.column()
sub = col.column()
- sub.active = (game.physics_type == 'RIGID_BODY')
sub.prop(game, "use_anisotropic_friction")
subsub = sub.column()
subsub.active = game.use_anisotropic_friction
@@ -149,6 +148,22 @@
col.prop(game, "use_ghost")
col.prop(ob, "hide_render", text="Invisible")
+ layout.separator()
+
+ split = layout.split()
+
+ col = split.column()
+ col.label(text="Attributes:")
+ col.prop(game, "radius")
+
+ col = split.column()
+ sub = col.column()
+ sub.prop(game, "use_anisotropic_friction")
+ subsub = sub.column()
+ subsub.active = game.use_anisotropic_friction
+ subsub.prop(game, "friction_coefficients", text="", slider=True)
+
+
elif game.physics_type in ('SENSOR', 'INVISIBLE', 'NO_COLLISION',
'OCCLUDE'):
layout.prop(ob, "hide_render", text="Invisible")
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs