[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27775] branches/render25/release/scripts/ ui/properties_physics_cloth.py: Render Branch: Forgot to commit the UI for rest shape key.

Brecht Van Lommel brecht at blender.org
Fri Mar 26 16:22:50 CET 2010


Revision: 27775
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27775
Author:   blendix
Date:     2010-03-26 16:22:50 +0100 (Fri, 26 Mar 2010)

Log Message:
-----------
Render Branch: Forgot to commit the UI for rest shape key.

Modified Paths:
--------------
    branches/render25/release/scripts/ui/properties_physics_cloth.py

Modified: branches/render25/release/scripts/ui/properties_physics_cloth.py
===================================================================
--- branches/render25/release/scripts/ui/properties_physics_cloth.py	2010-03-26 15:06:30 UTC (rev 27774)
+++ branches/render25/release/scripts/ui/properties_physics_cloth.py	2010-03-26 15:22:50 UTC (rev 27775)
@@ -129,7 +129,12 @@
                 col.prop(cloth, "goal_friction", text="Friction")
             """
 
+            key = ob.data.shape_keys
 
+            if key:
+                col.label(text="Rest Shape Key:")
+                col.prop_object(cloth, "rest_shape_key", key, "keys", text="")
+
 class PHYSICS_PT_cloth_cache(PhysicButtonsPanel):
     bl_label = "Cloth Cache"
     bl_default_closed = True





More information about the Bf-blender-cvs mailing list