forked from bartvdbraak/blender
Bugfix #5217
Call to refresh Image Icon on load should not be done for background renders... crashed blender then.
This commit is contained in:
parent
41b84e4ef0
commit
6c941bb3e1
@ -590,7 +590,7 @@ void load_image(Image * ima, int flags, char *relabase, int framenum)
|
|||||||
if (ima->ibuf) {
|
if (ima->ibuf) {
|
||||||
detectBitmapFont(ima->ibuf);
|
detectBitmapFont(ima->ibuf);
|
||||||
/* preview is NULL when it has never been used as an icon before */
|
/* preview is NULL when it has never been used as an icon before */
|
||||||
if(ima->preview==NULL)
|
if(G.background==0 && ima->preview==NULL)
|
||||||
BKE_icon_changed(BKE_icon_getid(&ima->id));
|
BKE_icon_changed(BKE_icon_getid(&ima->id));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user