3d window didn't refresh correctly when loading a new background image.
Fix by Ken Hughes. :)
This commit is contained in:
Ton Roosendaal 2008-09-08 10:31:00 +00:00
parent ce7caf203d
commit 6a83746fb3

@ -211,6 +211,7 @@ static void load_image_cb(char *str, void *ima_pp_v, void *iuser_v) /* called fr
if(GS(tex->id.name)==ID_TE) { if(GS(tex->id.name)==ID_TE) {
BIF_preview_changed(ID_TE); BIF_preview_changed(ID_TE);
allqueue(REDRAWBUTSSHADING, 0); allqueue(REDRAWBUTSSHADING, 0);
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWOOPS, 0); allqueue(REDRAWOOPS, 0);
} }
} }