forked from bartvdbraak/blender
fix for incorrect args, before pyapi fixes these were ignored.
(commit 27723 by Campbell from render25 branch)
This commit is contained in:
parent
819bdb36c2
commit
587a1f806c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user