Fix: Still allow unpacking of editable linked datablocks
Don't do it for unpack all, which is about the local blend file. But for individual buttons for datablocks it should work. Ref #122092
This commit is contained in:
@@ -841,8 +841,8 @@ bool BKE_packedfile_id_check(const ID *id)
|
||||
|
||||
void BKE_packedfile_id_unpack(Main *bmain, ID *id, ReportList *reports, enum ePF_FileStatus how)
|
||||
{
|
||||
/* Dont unpack resources that are packed in linked IDs. */
|
||||
if (ID_IS_LINKED(id)) {
|
||||
/* Only unpack when datablock is editable. */
|
||||
if (!ID_IS_EDITABLE(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user