svn merge -r37276:38555 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
[blender-staging.git] / source / blender / editors / object / object_bake.c
index bdd911d68ee2ae8f473fefef62793e4a1effb9e6..679e4e58017f6c03a0d9b78456242f7521ab5d4e 100644 (file)
@@ -860,6 +860,10 @@ static void finish_images(MultiresBakeRender *bkr)
                RE_bake_ibuf_filter(ibuf, (char *)ibuf->userdata, bkr->bake_filter);
 
                ibuf->userflags|= IB_BITMAPDIRTY;
+
+               if(ibuf->rect_float)
+                       ibuf->userflags|= IB_RECT_INVALID;
+
                if(ibuf->mipmap[0]) {
                        ibuf->userflags|= IB_MIPMAP_INVALID;
                        imb_freemipmapImBuf(ibuf);