[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21566] branches/blender2.5/blender/ release/ui/buttons_physic_cloth.py: Cloth UI: forgot one panel in last commit
Daniel Genrich
daniel.genrich at gmx.net
Tue Jul 14 00:46:30 CEST 2009
Revision: 21566
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21566
Author: genscher
Date: 2009-07-14 00:46:30 +0200 (Tue, 14 Jul 2009)
Log Message:
-----------
Cloth UI: forgot one panel in last commit
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_physic_cloth.py
Modified: branches/blender2.5/blender/release/ui/buttons_physic_cloth.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_physic_cloth.py 2009-07-13 22:35:04 UTC (rev 21565)
+++ branches/blender2.5/blender/release/ui/buttons_physic_cloth.py 2009-07-13 22:46:30 UTC (rev 21566)
@@ -138,20 +138,19 @@
layout = self.layout
cloth = context.cloth.collision_settings
- layout.active = cloth.enable_collision
+ layout.active = cloth.enable_collision
- col = layout.column_flow()
- col.itemR(cloth, "collision_quality", slider=True)
+ col = split.column(align=True)
+ col.itemR(cloth, "collision_quality", slider=True, text="Quality")
+ col.itemR(cloth, "min_distance", text="Distance")
col.itemR(cloth, "friction")
- col.itemR(cloth, "min_distance", text="MinDistance")
+ col = split.column(align="True")
+ col.itemR(cloth, "enable_self_collision", text="Self Collision")
- layout.itemR(cloth, "enable_self_collision", text="Self Collision")
-
- col = layout.column_flow()
col.active = cloth.enable_self_collision
- col.itemR(cloth, "self_collision_quality", slider=True)
- col.itemR(cloth, "self_min_distance", text="MinDistance")
+ col.itemR(cloth, "self_collision_quality", slider=True, text="Quality")
+ col.itemR(cloth, "self_min_distance", text="Distance")
class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel):
__idname__ = "PHYSICS_PT_stiffness"
More information about the Bf-blender-cvs
mailing list