1
1

Fix T95315: "Override Layers" panel open crash with null CacheFile

This commit is contained in:
2022-01-30 01:06:56 +01:00
parent c9d35ee07c
commit 2cf3ed13da

View File

@@ -404,6 +404,10 @@ static void override_layers_panel_draw(const bContext *C, Panel *panel)
return;
}
if (RNA_pointer_is_null(&fileptr)) {
return;
}
uiLayoutSetPropSep(layout, true);
uiTemplateCacheFileLayers(layout, C, &fileptr);
}