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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user