Fix [#22669] Packing a .wav used in a LB crashes Blender

This commit is contained in:
2010-06-28 00:11:28 +00:00
parent 1a6b9ea5d9
commit aae952be1f

View File

@@ -224,7 +224,7 @@ void packAll(Main *bmain, ReportList *reports)
vf->packedfile = newPackedFile(reports, vf->name);
for(sound=bmain->sound.first; sound; sound=sound->id.next)
if(sound->packedfile == NULL && vf->id.lib==NULL)
if(sound->packedfile == NULL && sound->id.lib==NULL)
sound->packedfile = newPackedFile(reports, sound->name);
}