fix for incorrect args, before pyapi fixes these were ignored.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 25 Mar 2010 13:53:24 +0000 (13:53 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 25 Mar 2010 13:53:24 +0000 (13:53 +0000)
(commit 27723 by Campbell from render25 branch)

release/scripts/ui/properties_physics_common.py

index b81fa25b1a13fcabf510c58d7ab02dc4735a18d5..9b24115d4920f3c3745d3b11f74a7261af0da91b 100644 (file)
@@ -65,7 +65,7 @@ def point_cache_ui(self, context, cache, enabled, particles, smoke):
 
         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 @@ def point_cache_ui(self, context, cache, enabled, particles, smoke):
         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):