Further fix for #36382: bake buttons for linked objects could be grayed out

when they shouldn't be.
This commit is contained in:
Brecht Van Lommel
2013-09-23 12:14:06 +00:00
parent d4c67adb5a
commit 0d524d1809

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