Commit: bd74f5f7abff2b51923d60b5018da70f17f5a5d6 Author: Jacques Lucke Date: Sun Mar 29 15:09:42 2020 +0200 Branches: master https://developer.blender.org/rBbd74f5f7abff2b51923d60b5018da70f17f5a5d6
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 =================================================================== M release/scripts/startup/bl_ui/properties_physics_common.py =================================================================== diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 5397020a521..479782f1e3b 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -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() _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
