fix for [#8019] Switching to Image Browser window crashes Blender
http://projects.blender.org/tracker/index.php?func=detail&aid=8019&group_id=9&atid=125
This commit is contained in:
@@ -155,6 +155,11 @@ void imasel_buttons(void)
|
||||
xco+=20;
|
||||
|
||||
type = simasel->type;
|
||||
|
||||
if(!simasel->files) {
|
||||
simasel->files = BIF_filelist_new();
|
||||
}
|
||||
|
||||
if (type == FILE_LOADLIB) {
|
||||
do_filter = !BIF_filelist_islibrary(simasel->files, dir, group);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user