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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-25 16:53:24 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-25 16:53:24 +0300
commit587a1f806c2a2a7063832efdd8e477453a003b8c (patch)
treed4a14f31607fc437b2693e0d2d73daa7046a5607 /release
parent819bdb36c27af1d5e55a8cb5b6e6762a0c41c8d2 (diff)
fix for incorrect args, before pyapi fixes these were ignored.
(commit 27723 by Campbell from render25 branch)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_physics_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_physics_common.py b/release/scripts/ui/properties_physics_common.py
index b81fa25b1a1..9b24115d492 100644
--- a/release/scripts/ui/properties_physics_common.py
+++ b/release/scripts/ui/properties_physics_common.py
@@ -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):