Crash reported on combo of append object, do global undo, and re-append
same object. Appears to be an open filehandle...
This commit is contained in:
Ton Roosendaal 2004-10-31 20:18:14 +00:00
parent 3e197898f7
commit 1a49bf0c37

@ -2732,7 +2732,9 @@ void lib_link_screen_restore(Main *newmain, char mode, Scene *curscene)
}
else if(sl->spacetype==SPACE_FILE) {
SpaceFile *sfile= (SpaceFile *)sl;
if(sfile->libfiledata)
BLO_blendhandle_close(sfile->libfiledata);
sfile->libfiledata= 0;
}
else if(sl->spacetype==SPACE_IMASEL) {
;