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:
authorThomas Dinges <blender@dingto.org>2009-07-03 18:32:27 +0400
committerThomas Dinges <blender@dingto.org>2009-07-03 18:32:27 +0400
commitc1dcaa5decf2a9afcbc7b02b482b599d07510053 (patch)
tree570827e4436636b6557a8825ec51296819b8266d /release
parentbcea99d8d5201a3caf4235b7d8b75aa1c3ee0967 (diff)
2.5 Physic Buttons:
* Added some collision buttons. Patch by Wahooney. Thanks!
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_physics_field.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/release/ui/buttons_physics_field.py b/release/ui/buttons_physics_field.py
index 5843d1aadf6..f3dc0f267d8 100644
--- a/release/ui/buttons_physics_field.py
+++ b/release/ui/buttons_physics_field.py
@@ -46,7 +46,22 @@ class PHYSICS_PT_collision(PhysicButtonsPanel):
if settings.enabled:
pass
+
+ split = layout.split()
+
+ col = split.column()
+ col.itemL(text="Damping:")
+ col.itemR(settings, "damping_factor", text="Factor");
+ col.itemR(settings, "random_damping", text="Random");
+
+ col = split.column()
+ col.itemL(text="Friction:")
+ col.itemR(settings, "friction_factor", text="Factor");
+ col.itemR(settings, "random_friction", text="Random");
+
+ layout.itemR(settings, "permeability");
+
+ layout.itemR(settings, "kill_particles");
bpy.types.register(PHYSICS_PT_field)
bpy.types.register(PHYSICS_PT_collision)
-