svn merge -r36801:36840 https://svn.blender.org/svnroot/bf-blender/trunk/blender
This commit is contained in:
@@ -900,7 +900,7 @@ static void do_material_tex(GPUShadeInput *shi)
|
||||
GPUNodeLink *texco_norm, *texco_orco, *texco_object;
|
||||
GPUNodeLink *texco_global, *texco_uv = NULL;
|
||||
GPUNodeLink *newnor, *orn;
|
||||
char *lastuvname = NULL;
|
||||
/*char *lastuvname = NULL;*/ /*UNUSED*/
|
||||
float one = 1.0f, norfac, ofs[3];
|
||||
int tex_nr, rgbnor, talpha;
|
||||
int init_done = 0, iBumpSpacePrev;
|
||||
@@ -947,7 +947,7 @@ static void do_material_tex(GPUShadeInput *shi)
|
||||
else if(mtex->texco==TEXCO_UV) {
|
||||
if(1) { //!(texco_uv && strcmp(mtex->uvname, lastuvname) == 0)) {
|
||||
GPU_link(mat, "texco_uv", GPU_attribute(CD_MTFACE, mtex->uvname), &texco_uv);
|
||||
lastuvname = mtex->uvname;
|
||||
/*lastuvname = mtex->uvname;*/ /*UNUSED*/
|
||||
}
|
||||
texco= texco_uv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user