forked from bartvdbraak/blender
- small fix: image icons are now drawn without the white background
This commit is contained in:
parent
e5218ce9aa
commit
10bc192604
@ -671,7 +671,7 @@ static void icon_from_image(Image* img, RenderInfo* ri)
|
||||
|
||||
if (!ri->rect) {
|
||||
ri->rect= MEM_callocN(pr_size, "butsrect");
|
||||
memset(ri->rect, 0xFF, pr_size);
|
||||
memset(ri->rect, 0x00, pr_size);
|
||||
}
|
||||
|
||||
/* we only load image if there's no preview saved already ...
|
||||
|
Loading…
Reference in New Issue
Block a user