Repeat Image texture was broken... the repeat value for Y was accidentally
multiplied twice, typo... had to change a 1 into 2 :)

Error introduced in 2.41 btw, 2.40 and older were OK.
This commit is contained in:
2006-07-13 15:41:36 +00:00
parent ec9b952582
commit 7692b9f21f

View File

@@ -1127,7 +1127,7 @@ static void do_2d_mapping(MTex *mtex, float *t, VlakRen *vlr, float *dxt, float
else if(fy<0.0) fy+= 1-(int)(fy);
}
if(max!=1.0f) {
dxt[1]*= max;
dxt[2]*= max;
dyt[2]*= max;
}