Fix T40048: Cycles bake crashes Blender [when there is no image]
The struct with the images was not NULL initialized.
This commit is contained in:
parent
63a66478f5
commit
9fe618e309
Notes:
blender-bot
2023-02-14 12:01:57 +01:00
Referenced by issue #40048, Cycles bake crashes Blender.
|
@ -401,7 +401,7 @@ static int bake(
|
|||
bool is_highpoly = false;
|
||||
bool is_tangent;
|
||||
|
||||
BakeImages bake_images;
|
||||
BakeImages bake_images = {NULL};
|
||||
|
||||
int num_pixels;
|
||||
int tot_materials;
|
||||
|
|
Loading…
Reference in New Issue