Further fix for #36382: bake buttons for linked objects could be grayed out
[blender.git] / release / scripts / startup / bl_ui / properties_physics_common.py
index 26587472566769f2026f3093ce6f11eef103d752..22c71c233c2b2832abb8e3829b269190443681e0 100644 (file)
@@ -180,7 +180,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
 
             layout.separator()
 
-            if cache.id_data.library:
+            if cache.id_data.library and not cache.use_disk_cache:
                 can_bake = False
 
                 col = layout.column(align=True)