Fix T73945: Don't grey out "Calculate to Frames" in some cases
The button seems to behave more as I'd expect without these additional checks. Previously, the button was often grayed out when it was actually working. Reviewers: ISS Differential Revision: https://developer.blender.org/D7252
This commit is contained in:
parent
5b8b6b4c1e
commit
bd74f5f7ab
Notes:
blender-bot
2023-02-14 03:44:41 +01:00
Referenced by issue #73945, Calculate rigid body to Frame not working
|
@ -227,7 +227,7 @@ def point_cache_ui(self, cache, enabled, cachetype):
|
|||
col.operator("ptcache.bake", text="Bake").bake = True
|
||||
|
||||
sub = col.row()
|
||||
sub.enabled = (cache.is_frame_skip or cache.is_outdated) and enabled
|
||||
sub.enabled = enabled
|
||||
sub.operator("ptcache.bake", text="Calculate To Frame").bake = False
|
||||
|
||||
sub = col.column()
|
||||
|
|
Loading…
Reference in New Issue