[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27723] branches/render25/release/scripts/ ui/properties_physics_common.py: fix for incorrect args, before pyapi fixes these were ignored.

Campbell Barton ideasman42 at gmail.com
Wed Mar 24 17:54:03 CET 2010


Revision: 27723
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27723
Author:   campbellbarton
Date:     2010-03-24 17:54:03 +0100 (Wed, 24 Mar 2010)

Log Message:
-----------
fix for incorrect args, before pyapi fixes these were ignored.

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

Modified: branches/render25/release/scripts/ui/properties_physics_common.py
===================================================================
--- branches/render25/release/scripts/ui/properties_physics_common.py	2010-03-24 16:28:13 UTC (rev 27722)
+++ branches/render25/release/scripts/ui/properties_physics_common.py	2010-03-24 16:54:03 UTC (rev 27723)
@@ -65,7 +65,7 @@
 
         sub = row.row()
         sub.enabled = (cache.frames_skipped or cache.outdated) and enabled
-        sub.operator("ptcache.bake", "bake", False, text="Calculate to Current Frame")
+        sub.operator("ptcache.bake", text="Calculate to Current Frame").bake = False
 
         row = layout.row()
         row.enabled = enabled
@@ -87,7 +87,7 @@
         row = layout.row()
         row.operator("ptcache.bake_all", text="Bake All Dynamics").bake = True
         row.operator("ptcache.free_bake_all", text="Free All Bakes")
-        layout.operator("ptcache.bake_all", "bake", False, text="Update All Dynamics to current frame")
+        layout.operator("ptcache.bake_all", text="Update All Dynamics to current frame").bake = False
 
 
 def effector_weights_ui(self, context, weights):





More information about the Bf-blender-cvs mailing list