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):