Fix T44514 Crash under cycles rendering using F12, based on patch from Gaia Clary

This commit is contained in:
Dalai Felinto 2015-04-27 10:33:18 -03:00
parent e1ed47eb5b
commit b315fcb7ed
Notes: blender-bot 2023-05-03 10:14:48 +02:00
Referenced by issue #44514, Crash under cycles rendering using F12
1 changed files with 3 additions and 1 deletions

View File

@ -3582,10 +3582,12 @@ static ImBuf *image_get_render_result(Image *ima, ImageUser *iuser, void **lock_
rectz = rv->rectz;
}
else {
/* XXX This should never happen, yet it does - T44498
/* XXX This should never happen, yet it does - T44498, T44514
* I'm waiting to investigate more, but meanwhile this fix
* the immediate issue */
rect = NULL;
rectf = NULL;
rectz = NULL;
}
dither = iuser->scene->r.dither_intensity;