[tuhopuu-devel] Patch for rendercore.c

Jonathan Merritt tuhopuu-devel@blender.org
Thu, 17 Jun 2004 23:00:59 +1000


This is a multi-part message in MIME format.
--------------010608030405060808080808
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Everyone,

I have submitted this patch once before, but do so again since it 
appears to have been overlooked the first time.  It fixes a bug in the 
tuhopuu rendercore.c that is *NOT* present in bf-blender's rendercore.c

This bug manifests itself as an imbalance in colors.  Scenes that should 
be completely grey (ie: red == green == blue everywhere) typically 
contain less red than they should.  Close examination of the code will 
reveal that a small snippet is present that almost certainly should not 
be there.  I believe that this bug has also been noticed by tuhopuu 
end-users on the Elysiun forums and has been blamed on other code.

I created the patch using:
    cvs diff -u > patch
    gzip patch
In the tuhopuu base directory.

If there is a reason why this patch is not being applied, I would *very* 
much appreciate it being brought up for discussion, since I believe my 
modifications are "correct".

Jonathan Merritt.

--------------010608030405060808080808
Content-Type: application/x-gzip;
 name="patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="patch.gz"

H4sICJmT0UAAA3BhdGNoAKVQsW7CMBCd8Vfc2BKcOG6hTVIgUqd2bEeEUEgcYinY0dlBLP33
Og0tZGBAveX53r27d74lbGuhCoFkCblWpdz5urHGZU1m84q8udoxBqNbzEVw0gbYg1RWoApO
xZ7MNQo/J/P/B/l4/YRS1iKGID8Y1NoGtq1007a/yINbF5scCAqLUhyk2gE6MFIrCP2IFLIs
gbZA0WUw+A2l9OYTjKbw3irgjD0C5zGL4jAEylyMOjfP824fGT6dZ4Y8nj7E/LmfSdIUKGcz
NonA+8EZpCmBizCVpAvMihVfj+d9ZsVxU2rcOFZqxyfnhi8ChI5keWcqpIvuNiu2fmE+u4dL
Zg6OSkDURgx457DPnF3ihlzyXs9n+y2Cd3qN/zZj605P4ErLUDhUnQ2vdbvSN9hJonjuAgAA

--------------010608030405060808080808--