Revision: 28435
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28435
Author:   blendix
Date:     2010-04-26 13:56:52 +0200 (Mon, 26 Apr 2010)

Log Message:
-----------
Render Branch: Fix for FSA update while rendering fix, should set
float rect to NULL.

Modified Paths:
--------------
    branches/render25/source/blender/blenkernel/intern/image.c

Modified: branches/render25/source/blender/blenkernel/intern/image.c
===================================================================
--- branches/render25/source/blender/blenkernel/intern/image.c  2010-04-26 
11:28:20 UTC (rev 28434)
+++ branches/render25/source/blender/blenkernel/intern/image.c  2010-04-26 
11:56:52 UTC (rev 28435)
@@ -1896,11 +1896,19 @@
                ibuf->flags |= IB_rectfloat;
                ibuf->channels= channels;
        }
+       else {
+               ibuf->rect_float= NULL;
+               ibuf->flags &= ~IB_rectfloat;
+       }
 
        if(rectz) {
                ibuf->zbuf_float= rectz;
                ibuf->flags |= IB_zbuffloat;
        }
+       else {
+               ibuf->zbuf_float= NULL;
+               ibuf->flags &= ~IB_zbuffloat;
+       }
 
        ibuf->dither= dither;
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to