forked from bartvdbraak/blender
Bug #1721
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:
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) {
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user