[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40865] branches/soc-2011-onion-uv-tools/ source/blender/gpu/intern/gpu_draw.c: correct bug in previous commit

Antony Riakiotakis kalast at gmail.com
Sun Oct 9 02:55:11 CEST 2011


Revision: 40865
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40865
Author:   psy-fi
Date:     2011-10-09 00:55:11 +0000 (Sun, 09 Oct 2011)
Log Message:
-----------
correct bug in previous commit

Modified Paths:
--------------
    branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c

Modified: branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c	2011-10-09 00:54:41 UTC (rev 40864)
+++ branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c	2011-10-09 00:55:11 UTC (rev 40865)
@@ -556,7 +556,6 @@
 				if(ibuf->profile == IB_PROFILE_LINEAR_RGB){
 					frect = color_corrected_frect = MEM_mallocN(ibuf->x*ibuf->y*sizeof(float)*4, "floar_buf_col_cor");
 					IMB_float_color_corrected_from_float_rect(ibuf, color_corrected_frect);
-					frect= color_corrected_frect + texwinsy*ibuf->x + texwinsx;
 				}else{
 					frect= ibuf->rect_float;
 				}




More information about the Bf-blender-cvs mailing list