[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47497] branches/soc-2012-swiss_cheese/ source/blender/gpu/intern/gpu_material.c: fixed warning about constant conditional

Jason Wilkins Jason.A.Wilkins at gmail.com
Wed Jun 6 08:37:26 CEST 2012


Revision: 47497
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47497
Author:   jwilkins
Date:     2012-06-06 06:37:17 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
fixed warning about constant conditional

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_material.c

Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_material.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_material.c	2012-06-06 06:01:51 UTC (rev 47496)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_material.c	2012-06-06 06:37:17 UTC (rev 47497)
@@ -1001,10 +1001,10 @@
 				texco= shi->ref;
 			}
 			else if (mtex->texco==TEXCO_UV) {
-				if (1) { //!(texco_uv && strcmp(mtex->uvname, lastuvname) == 0)) {
+				//if (!(texco_uv && strcmp(mtex->uvname, lastuvname) == 0)) {
 					GPU_link(mat, "texco_uv", GPU_attribute(CD_MTFACE, mtex->uvname), &texco_uv);
 					/*lastuvname = mtex->uvname;*/ /*UNUSED*/
-				}
+				//}
 				texco= texco_uv;
 			}
 			else




More information about the Bf-blender-cvs mailing list