Fix T44514 Crash under cycles rendering using F12, based on patch from Gaia Clary
authorDalai Felinto <dfelinto@gmail.com>
Mon, 27 Apr 2015 13:33:18 +0000 (10:33 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Mon, 27 Apr 2015 13:41:40 +0000 (10:41 -0300)
source/blender/blenkernel/intern/image.c

index b9a76a125a4a4f691a822adcc8918faeced97375..d76537ab6967591e55a6858734d91589b73eddca 100644 (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;